You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this context, I would assume that there is no immediate problem as it's just an array, but with a more complex type this would result in the destructor not being ran.
Is this undefined behavior which should be fixed, or just something for me to ignore in the results?
The text was updated successfully, but these errors were encountered:
When compiling native node dependencies with
-fsanitize=address
to enable AddressSanitizer, there appears to be warnings originating from lmdb-js.For example, when using a project that uses
parcel
's watch mode:The trace suggests that when creating compressed values,
operator new[]
is used:lmdb-js/src/compression.cpp
Lines 123 to 125 in 6e4146d
but when freeing it,
free
is usedlmdb-js/src/writer.cpp
Lines 297 to 299 in 6e4146d
In this context, I would assume that there is no immediate problem as it's just an array, but with a more complex type this would result in the destructor not being ran.
Is this undefined behavior which should be fixed, or just something for me to ignore in the results?
The text was updated successfully, but these errors were encountered: