#1950: pbc_disassemble dumps core on illegal options
----------------------+-----------------------------------------------------
Reporter: doughera | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: none | Version: 2.11.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
----------------------+-----------------------------------------------------
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.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1950>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets