bug#28859: Segmentation fault with NULL pointer dereference in 'stty'
From:
Andreas Schwab
Subject:
bug#28859: Segmentation fault with NULL pointer dereference in 'stty'
Date:
Tue, 17 Oct 2017 21:55:59 +0200
User-agent:
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
On Okt 17 2017, PƔdraig Brady <address@hidden> wrote:
> Updated patch attached. I mistakenly thought getopt would
> permute the argv so NULLs were at the end. The attached
> caters for NULLs interspersed in the argv[].
This has nothing to do with getopt, the first pass explicitly overwrites
the arguments that were already parsed.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."