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
Calling ta_alloc(0) and then another ta_alloc() (of any size) appears to be returning the same address twice. Having two memory blocks sharing the same address is bad since there is no way for ta_free() to know which to free.
ta_alloc(0) should probably either return NULL or behave the same as if ta_alloc(1) was called.
The text was updated successfully, but these errors were encountered:
@jlindgren90 Thank you very much for this and the other PR - I will take a look asap, but likely will take a little while for me to review & test this...
Calling
ta_alloc(0)
and then anotherta_alloc()
(of any size) appears to be returning the same address twice. Having two memory blocks sharing the same address is bad since there is no way forta_free()
to know which to free.ta_alloc(0)
should probably either returnNULL
or behave the same as ifta_alloc(1)
was called.The text was updated successfully, but these errors were encountered: