]> Savannah Git Hosting - gnulib.git/commit
getopt-gnu: Fix out-of-bounds access (regression 2023-12-11).
authorBruno Haible <bruno@clisp.org>
Thu, 18 Jan 2024 00:12:20 +0000 (01:12 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 18 Jan 2024 08:35:22 +0000 (09:35 +0100)
commitc78af17a931bb36e00c5f698b7fd37deb4a87f58
treec57abc7f56668736e6c86ffe0030fd21d67d9c15
parentd55ee11f0c2758f97a8b7523ddfa4f98f1442dc0
getopt-gnu: Fix out-of-bounds access (regression 2023-12-11).

* lib/getopt.c (process_long_option): Don't set ambig_set[option_index]
if ambig_set is &ambig_fallback.
ChangeLog
lib/getopt.c