Open emmt opened 8 months ago
I can make a PR to solve these if you agree.
Sure. I've been planning to audit this more in-depth, but I haven't really gotten around to it yet (partly because I didn't necessarily expect anyone to pay attention to this_.
Oops, closed by accident.
I have noticed a list of potential issues:
s
andsl
intoml_value_t
. Fortunately,s
is instantiated last and its value is correct for the caller butsl
is not. Solution: remove membersl
.z
intoml_value_timestamp
.z
of thetoml_timestamp_t
structure if the caller justfree(val.ts)
and notfree(val.ts.z)
.z
member of thetoml_timestamp_t
structure achar
array of fixed size.I can make a PR to solve these if you agree.