TASTE bugtrack - Taste
View Issue Details
0000815Taste[All Projects] ASN.1 Compiler v4public2018-11-21 13:382020-08-31 18:24
cavada@fbk.eu 
gmamais 
normalcrashhave not tried
closedfixed 
0000815: asn1scc generates wrong buffer size for XER encoding
The computation of the size of buffers for XER encoding seems to be wrong. For T_Boolean, it is 36 (31 should be enough) Worse, size of a sequence is lower than needed: in the example, size for T_Boolean_Seq is computed to be 49, when it should be 62.
See attached example, where the problem is shown.
No tags attached.
tgz xer-bug.tgz (1,138) 2018-11-21 13:38
https://taste.tuxfamily.org/mantis/file_download.php?file_id=285&type=bug
Issue History
2018-11-21 13:38cavada@fbk.euNew Issue
2018-11-21 13:38cavada@fbk.euFile Added: xer-bug.tgz
2018-11-22 08:38maximeAssigned To => gmamais
2018-11-22 08:38maximeStatusnew => assigned
2018-12-10 11:27gmamaisNote Added: 0003534
2018-12-10 11:27gmamaisStatusassigned => resolved
2018-12-10 11:27gmamaisResolutionopen => fixed
2020-08-31 18:24maximeStatusresolved => closed

Notes
(0003534)
gmamais   
2018-12-10 11:27   
Bug fixed in the latest version (4.1.0.6f).