What steps will reproduce the problem?
1. Call to popen_noshell_compat with an invalid command, i.e, command which
popen_noshell_split_command_to_argv fails.
2.
3.
Below is the fix:
Change
#define _popen_noshell_split_return_NULL { if (argv != NULL) free(argv); if
(command != NULL) free(command); return NULL; }
to
#define _popen_noshell_split_return_NULL { if (argv != NULL) free(argv); if
(command != NULL) free(command); *free_this_buf = NULL; return NULL; }
Original issue reported on code.google.com by rajasekh...@gmail.com on 21 Feb 2013 at 12:09
Original issue reported on code.google.com by
rajasekh...@gmail.com
on 21 Feb 2013 at 12:09