Bugs item #3463289, was opened at 2011-12-21 01:44 Message generated for change (Tracker Item Submitted) made by zmoelnig You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3463289...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: v0.43 Status: Open Resolution: None Priority: 5 Private: No Submitted By: IOhannes m zmölnig (zmoelnig) Assigned to: Miller Puckette (millerpuckette) Summary: number of NULL-ptr dereferences, file leaks, out-of-memory
Initial Comment: i tested puredata-0.43.1test6 (git.dcfc110b3c32700) with $ cppcheck --f j4 --quiet src/ and got:
[src/d_fft_fftsg.c:53]: (error) Possible null pointer dereference: ooura_bitrev - otherwise it is redundant to check if ooura_bitrev is null at line 54 [src/d_soundfile.c:789]: (error) Buffer access out-of-bounds: aiffhdr.a_samprate [src/g_graph.c:294]: (error) Possible null pointer dereference: owner - otherwise it is redundant to check if owner is null at line 297 [src/g_graph.c:366]: (error) Possible null pointer dereference: owner - otherwise it is redundant to check if owner is null at line 369 [src/g_readwrite.c:371]: (error) Possible null pointer dereference: template - otherwise it is redundant to check if template is null at line 378 [src/g_readwrite.c:664]: (error) Possible null pointer dereference: template - otherwise it is redundant to check if template is null at line 665 [src/s_audio_alsa.c:218]: (error) Common realloc mistake: 'alsa_snd_buf' nulled but not freed upon failure [src/s_path.c:533]: (error) Resource leak: file
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3463289...