mouse07410 / asn1c

The ASN.1 Compiler
http://lionet.info/asn1c/
BSD 2-Clause "Simplified" License
101 stars 73 forks source link

run in assert @libasn1common/asn1_buffer.c:132 #61

Closed SongShawn closed 4 years ago

SongShawn commented 4 years ago

https://github.com/mouse07410/asn1c/blob/vlm_master/libasn1common/asn1_buffer.c:154 The variable actual_length in line 154 overrides the local variable actual_length of the function. So this function always return -1.

mouse07410 commented 4 years ago

Thank you! I think you're right, and found a bug. Fixed.

mouse07410 commented 4 years ago

Please re-open if you still have this problem.