Ticket #1950 (closed bug: fixed)
pbc_disassemble dumps core on illegal options
Reported by: | doughera | Owned by: | jkeenan |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | tools | Version: | 2.11.0 |
Severity: | medium | Keywords: | |
Cc: | cotto | Language: | |
Patch status: | applied | Platform: |
Description
In src/pbc_disassemble.c , The longopt_opt_decl structure isn't terminated. This can cause src/longopt.c to walk off the end of the array. This was uncovered by one of the recently added tests in t/tools/pbc_disassemble.t. The attached patch fixes it.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.