URL:
<https://savannah.gnu.org/support/?110925>
Summary: libtool 2.4.7.4-1ec8f-dirty infinite loop on unknown
(out of order) argument
Group: GNU Libtool
Submitter: None
Submitted: Sun 20 Aug 2023 08:15:20 AM UTC
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email: [email protected]
Open/Closed: Open
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sun 20 Aug 2023 08:15:20 AM UTC By: Anonymous
Libtool 2.4.7.4-1ec8f-dirty enters an infinite loop in func_parse_options()
when an invalid argument (with a parameter) is given after a valid argument.
This is due to the variable $func_run_hooks_result not being cleared between
iterations, coupled with the fall-through logic of case "--*=*".
Suggest adding:
func_unset func_run_hooks_result
above:
func_run_hooks func_parse_options ${1+"$@"}
in func_parse_options().
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?110925>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/