[postgis-tickets] [PostGIS] #4545: Direct-leak · lwcollection_construct
PostGIS
trac at osgeo.org
Mon Oct 14 14:52:36 PDT 2019
#4545: Direct-leak · lwcollection_construct
---------------------+---------------------------
Reporter: komzpa | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.5.4
Component: postgis | Version: 2.5.x
Keywords: |
---------------------+---------------------------
https://oss-fuzz.com/testcase-detail/5663684969365504
{{{
==1==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x496abd in malloc /src/llvm/projects/compiler-
rt/lib/asan/asan_malloc_linux.cpp:145:3
#1 0x606460 in lwcollection_construct
/src/postgis/liblwgeom/lwcollection.c:78:8
#2 0x618083 in wkt_parser_collection_new
/src/postgis/liblwgeom/lwin_wkt.c:717:8
#3 0x671f26 in wkt_yyparse
/src/postgis/liblwgeom/lwin_wkt_parse.y:252:31
#4 0x66e032 in lwgeom_parse_wkt
/src/postgis/liblwgeom/lwin_wkt_parse.y:68:13
#5 0x6191f9 in lwgeom_from_wkt
/src/postgis/liblwgeom/lwin_wkt.c:909:20
#6 0x4c9eeb in LLVMFuzzerTestOneInput
/src/postgis/fuzzers/wkt_import_fuzzer.cpp:120:26
#7 0x51a716 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*,
unsigned long) /src/libfuzzer/FuzzerLoop.cpp:556:15
#8 0x4cb25f in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*,
unsigned long) /src/libfuzzer/FuzzerDriver.cpp:292:6
#9 0x4d8ec2 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned
char const*, unsigned long)) /src/libfuzzer/FuzzerDriver.cpp:774:9
#10 0x4ca8a7 in main /src/libfuzzer/FuzzerMain.cpp:19:10
#11 0x7f857f24882f in __libc_start_main /build/glibc-
LK5gWL/glibc-2.23/csu/libc-start.c:291
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4545>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list