mainGNU Libtool - Support: sr #110925, libtool 2.4.7.4-1ec8f-dirty...

 
 

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

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 is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 29 Jan 2024 06:29:00 AM UTC, comment #1: 

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

Mike Frysinger <vapier>
Group Member
Sun 20 Aug 2023 08:15:20 AM UTC, original submission:  

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().

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vapier (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code