google / emboss

Emboss is a tool for generating code that reads and writes binary data structures.
Apache License 2.0
68 stars 21 forks source link

Fix uninitialized memory in test code. #54

Closed reventlov closed 1 year ago

reventlov commented 1 year ago

The CanWriteExplicitlySizedEnumSizes test can fail on some compilers/configurations due to buffer being uninitialized.

This change fixes that issue.