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

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-a7ba.
    Corresponding source code