Skip to content

Commit 9609220

Browse files
committed
introduce heap buffer overflow on purpose to test asan is working
1 parent 93b306f commit 9609220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stringdtype/stringdtype/src/dtype.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ init_string_dtype(void)
251251
free(StringDType_DTypeSpec.casts[1]->dtypes);
252252
free(StringDType_DTypeSpec.casts[1]);
253253
free(StringDType_DTypeSpec.casts[2]->dtypes);
254-
free(StringDType_DTypeSpec.casts[2]);
254+
free(StringDType_DTypeSpec.casts[4]);
255255
free(StringDType_DTypeSpec.casts);
256256

257257
return 0;

0 commit comments

Comments
 (0)