We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c8ed4d commit c18c8a3Copy full SHA for c18c8a3
mapsde.c
@@ -777,6 +777,7 @@ static int sdeGetRecord(layerObj *layer, shapeObj *shape)
777
#ifdef SE_CLOB_TYPE
778
779
case SE_CLOB_TYPE:
780
+ memset(&clobval, 0, sizeof(clobval)); /* to prevent from the crash in SE_stream_get_clob */
781
status = SE_stream_get_clob(sde->connPoolInfo->stream, (short) (i+1), &clobval);
782
if(status == SE_SUCCESS) {
783
shape->values[i] = (char *)msSmallMalloc(sizeof(char)*clobval.clob_length);
0 commit comments