Opened 13 years ago
Closed 13 years ago
#713 closed defect (fixed)
bb egg may error out with format security issue
Reported by: | Jim Ursetto | Owned by: | felix winkelmann |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | extensions | Version: | |
Keywords: | bb egg security | Cc: | felix winkelmann |
Estimated difficulty: |
Description
As found at http://parenteses.org/mario/misc/salmonella-2011-10-13/install/bb.html
newer gcc detects a format string security problem -- essentially the result of doing printf(foo); instead of printf("%s", foo).
Attached patch should fix problem. It is untested. Keeping this assigned to myself until I can test the patch works as intended.
Attachments (1)
Change History (3)
Changed 13 years ago by
Attachment: | bb-fmt-sec.diff added |
---|
comment:1 Changed 13 years ago by
Owner: | changed from Jim Ursetto to felix winkelmann |
---|---|
Status: | new → assigned |
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Thanks - tagged a new version, 1.30.
Note: See
TracTickets for help on using
tickets.
Patch is good. I tested it with:
and on the old version you'll get a garbage number displayed, on the new one you get a literal %d.
Patch also fixes use of fl_ask where fl_choice was meant.
Feel free to apply if looks okay, or I will be happy to apply myself.