[postgis-tickets] [PostGIS] #4534: lwcircstring direct leak in wkb parser
PostGIS
trac at osgeo.org
Thu Oct 10 00:09:40 PDT 2019
#4534: lwcircstring direct leak in wkb parser
---------------------+---------------------------
Reporter: komzpa | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.0.1
Component: postgis | Version: 2.5.x
Keywords: |
---------------------+---------------------------
{{{
=================================================================
==1==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 72 byte(s) in 3 object(s) allocated from:
#0 0x49692d in malloc /src/llvm/projects/compiler-
rt/lib/asan/asan_malloc_linux.cpp:145:3
#1 0x6616cb in ptarray_construct_empty
/src/postgis/liblwgeom/ptarray.c:61:19
#2 0x66165e in ptarray_construct
/src/postgis/liblwgeom/ptarray.c:53:19
#3 0x611060 in lwcircstring_from_wkb_state
/src/postgis/liblwgeom/lwin_wkb.c:479:19
#4 0x611a7b in lwcurvepoly_from_wkb_state
/src/postgis/liblwgeom/lwin_wkb.c:619:10
#5 0x611eda in lwgeom_from_wkb /src/postgis/liblwgeom/lwin_wkb.c:783:9
#6 0x4c9d2d in LLVMFuzzerTestOneInput
/src/postgis/fuzzers/wkb_import_fuzzer.cpp:116:22
#7 0x51a546 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*,
unsigned long) /src/libfuzzer/FuzzerLoop.cpp:556:15
#8 0x4cb08f in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*,
unsigned long) /src/libfuzzer/FuzzerDriver.cpp:292:6
#9 0x4d8cf2 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned
char const*, unsigned long)) /src/libfuzzer/FuzzerDriver.cpp:774:9
#10 0x4ca6d7 in main /src/libfuzzer/FuzzerMain.cpp:19:10
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4534>
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