Hi,
It is my fault, I was not able to commit the fix due to some trips, I will commit the fix it in the end of this week.
Good luck, Volodymyr!
________________________________ From: Pavlo Lavrenenko santa@portaone.com To: libzdb-general@tildeslash.com Sent: Wednesday, April 3, 2013 3:10 PM Subject: libzdb memory leakage
Hi. I have a question regarding http://code.google.com/p/libzdb/source/detail?r=538 commit.
Currently because of next check:
if (R->columns[i].buffer) { *size = (int)R->columns[i].length; return (const void *)R->columns[i].buffer; }
its possible to return a buffer with the size smaller than actual blob size. OracleResultSet_getBlob() should fall through to the loop with OCILobRead2() and RESIZE() with a check like:
if (R->columns[i].buffer == NULL) { R->columns[i].buffer = ALLOC(LOB_CHUNK_SIZE); }
prior to the loop mentioned.
Should I duplicate this mail to bugs-libzdb@tildeslash.com? Do you guys have mailing list archive available?
-- Best regards, Pavlo Lavrenenko, PortaOne, Inc., Junior Software Developer Tel: +1-866-SIP VOIP (+1 866 747 8647) ext. 7624
PortaOne - VoIP Solutions Company Visit our Website: http://www.portaone.com -- To unsubscribe: http://www.tildeslash.com/mailman/listinfo/libzdb-general