lib: util: Finally remove possibilities of using sys_popen() unsafely.
authorJeremy Allison <jra@samba.org>
Sat, 18 May 2019 18:40:26 +0000 (11:40 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 24 May 2019 19:00:06 +0000 (19:00 +0000)
commit9fa95d5b45369acfdd38923e8618e94e5d04b07e
tree3b597bc1211d7d380dffd182ccc0081f4f3aa67f
parentdbfa3cd186428c02589aa9093e868554b4c695d5
lib: util: Finally remove possibilities of using sys_popen() unsafely.

All code now uses sys_popenv() which is much
harder to use incorrectly.

Remove the extract_args() function that was the
cause of possible issues.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13964

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/util/sys_popen.c
lib/util/sys_popen.h