https://bugs.openldap.org/show_bug.cgi?id=10162
dex.tracers@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #1006|0 |1 is obsolete| |
--- Comment #2 from dex.tracers@gmail.com --- Created attachment 1007 --> https://bugs.openldap.org/attachment.cgi?id=1007&action=edit Temporary workaround with memory handling
Thanks a lot for your feedback, glad to hear that my findings are valuable.
I've reworked the patch to include memory handling (freeing and allocation with proper size) according to the way it's done inside of the sql-wrap.c for the row.cols[i] variable.
Since currently it is not an option for me to use some fixed value - I'll proceed with the potentially risky approach but add validators for data corruption on the client's side (to protect data consistency if corruption happens).
Regards, Volodymyr.