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?