Searched hist:177497 (Results 1 - 1 of 1) sorted by relevance

/freebsd-9.3-release/bin/sh/
H A Doptions.cdiff 177497 Sat Mar 22 12:06:01 MDT 2008 stefanf Reset the internal state used for the 'getopts' built-in when 'shift' or 'set'
are used to modify the arguments. Not doing so caused random memory reads or
null pointer dereferences when 'getopts' was called again later (SUSv3 says
getopts produces unspecified results in this case).

PR: 48318

Completed in 32 milliseconds