Displaying 2 results from an estimated 2 matches for "newargc".
Did you mean:
newargs
2003 Mar 07
0
[Bug 62] New: I patched the iptables-restore and liblptulog for string included "," "
....c Sat Mar 8 02:08:01 2003
@@ -262,6 +262,7 @@
/* the parser */
char *param_start, *curchar;
int quote_open;
+ int backquote_open;
/* reset the newargv */
newargc = 0;
@@ -308,10 +309,20 @@
* longer a real hacker, but I can live with that */
quote_open = 0;
+ backquote_open = 0;
param_start = parsestart;
for (curchar = parsestart; *curchar...
2017 Mar 17
2
[Bug 1131] New: iptables-restore crashes on some fuzzed input
...og at lists.netfilter.org
Reporter: oleg.strikov at gmail.com
This issue doesn't have any security implication. I file this bug only because
crashing on any input (even carefully crafted) is considered undesirable
nowadays.
> iptables/iptables-restore.c:438
> ret = do_command4(newargc, newargv,
> &newargv[2], &handle, true);
<...>
> free_argv();
By passing &newargv[2] to do_command4() we assume that this pointer won't be
overwritten by the function. Otherwise, following call to free_argv() may crash
if the overwritten pointer is eith...