dbinfrago / libpax

Apache License 2.0
21 stars 13 forks source link

Added initial zeroing of memory when serializing config #24

Closed lifezoned4 closed 1 year ago

lifezoned4 commented 1 year ago

While using the configuration store we noticed that some area in the struct kept being random when serializing. To fix this we added some zeroing of the structs' memory before copying the config struct areas into it.