[sr #110925] libtool 2.4.7.4-1ec8f-dirty infinite loop on unknown (out of order) argument

2024-01-28 Thread Mike Frysinger
Follow-up Comment #1, sr#110925 (group libtool):

please show an example command that fails, and ideally include a patch showing
what change you want to make

i tried to quickly reproduce this locally based on your description, but it
works fine for me


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[sr #110925] libtool 2.4.7.4-1ec8f-dirty infinite loop on unknown (out of order) argument

2023-08-20 Thread anonymous
URL:
  

 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: cont...@kara-online.net
 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:

  

___
Message sent via Savannah
https://savannah.gnu.org/