Ticket #1950 (closed bug: fixed)
pbc_disassemble dumps core on illegal options
|Reported by:||doughera||Owned by:||jkeenan|
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.