{ "tokens": { "input": 12206, "cache_read": 5216, "cache_write": 5216, "output": 1024 }, "reviews": [ { "key": [ "https://ftp.debian.org/debian/pool/main/c/crengine-ng/crengine-ng_0.9.15+ds.orig.tar.xz", "main crengine-ng-0.9.15/crengine/src/crtxtenc.cpp:1615:18: error: Memory is allocated but not initialized: pdata [uninitdata]" ], "verdict": { "verdict": "improvement", "confidence": "high", "explanation": "`pdata` is allocated with `new[]` at line 1581 and freed with `delete[] pdata` at line 1615. Freeing the array does not read its contents, so the warning that the memory is allocated but not initialized was a false positive. The pull request treats a non-dereferencing `delete` as not reading the data, which removes this false positive." } }, { "key": [ "https://ftp.debian.org/debian/pool/main/h/holotz-castle/holotz-castle_1.3.14.orig.tar.gz", "main holotz-castle-1.3.14-src/JLib/JLib/Util/JFile.cpp:141:12: error: Memory is allocated but not initialized: buffComp [uninitdata]" ], "verdict": { "verdict": "improvement", "confidence": "high", "explanation": "At line 141, `delete[] buffComp` only frees the uninitialized array. It never reads its contents. Reporting uninitdata there was a false positive. The PR stops treating a non-dereferenced operand of `delete` as a read, which removes this false warning." } }, { "key": [ "https://ftp.debian.org/debian/pool/main/h/holotz-castle/holotz-castle_1.3.14.orig.tar.gz", "main holotz-castle-1.3.14-src/JLib/JLib/Util/JFile.cpp:230:12: error: Memory is allocated but not initialized: buffComp [uninitdata]" ], "verdict": { "verdict": "improvement", "confidence": "high", "explanation": "Line 230 is `delete[] buffComp;`. buffComp was allocated with new[] and never written, but freeing it does not read its contents. The uninitdata warning was a false positive, and the PR removes it by treating delete as a non-reading use of the pointer." } }, { "key": [ "https://ftp.debian.org/debian/pool/main/h/holotz-castle/holotz-castle_1.3.14.orig.tar.gz", "main holotz-castle-1.3.14-src/JLib/JLib/Util/JFile.cpp:237:12: error: Memory is allocated but not initialized: buffUncomp [uninitdata]" ], "verdict": { "verdict": "improvement", "confidence": "high", "explanation": "At line 237, `buffUncomp` was allocated with `new unsigned char[lenUncomp]` and is freed with `delete[]` before anything is written to it. `delete[]` releases the memory without reading its contents, so the uninitdata warning was a false positive. The PR stops treating a pointer passed to `delete` as a read of the data, which removes this false positive." } }, { "key": [ "https://ftp.debian.org/debian/pool/main/m/metview/metview_5.27.0.orig.tar.gz", "main Metview-5.27.0-Source/metview/src/XSection/Vprofile.cc:439:18: error: Memory is allocated but not initialized: values [uninitdata]" ], "verdict": { "verdict": "improvement", "confidence": "high", "explanation": "`values` is allocated with new double[ntimes] and on the error path it is only freed with `delete[] values;`. Deleting the array does not read its contents, so the uninitdata warning was a false positive. The PR stops treating `delete` of the pointer as a use of the data, which removes this false positive." } }, { "key": [ "https://ftp.debian.org/debian/pool/main/q/qmltermwidget/qmltermwidget_0.2+git20220109.6322802.orig.tar.xz", "main qmltermwidget-0.2+git20220109.6322802/lib/BlockArray.cpp:279:19: error: Memory is allocated but not initialized: buffer1 [uninitdata]" ], "verdict": { "verdict": "improvement", "confidence": "high", "explanation": "Line 279 is `delete [] buffer1;` on the error path, right after `new char[blocksize]`. Freeing memory does not read its contents, so 'Memory is allocated but not initialized' was a false positive. The PR stops treating a non-dereferenced operand of delete as a use of the data, which removes this false positive." } }, { "key": [ "https://ftp.debian.org/debian/pool/main/q/qmltermwidget/qmltermwidget_0.2+git20220109.6322802.orig.tar.xz", "main qmltermwidget-0.2+git20220109.6322802/lib/BlockArray.cpp:337:19: error: Memory is allocated but not initialized: buffer1 [uninitdata]" ], "verdict": { "verdict": "improvement", "confidence": "high", "explanation": "Line 337 is `delete [] buffer1;` on an early-return error path. buffer1 was allocated with new char[] and never written. Deleting uninitialized memory frees it without reading its contents, so this is not a use of uninitialized data. The old uninitdata warning was a false positive, and the PR correctly removes it." } }, { "key": [ "https://ftp.debian.org/debian/pool/main/q/qmltermwidget/qmltermwidget_0.2+git20220109.6322802.orig.tar.xz", "main qmltermwidget-0.2+git20220109.6322802/lib/BlockArray.cpp:338:19: error: Memory is allocated but not initialized: buffer2 [uninitdata]" ], "verdict": { "verdict": "improvement", "confidence": "high", "explanation": "`buffer2` is allocated with `new char[blocksize]` and freed with `delete [] buffer2` on the error path before anything is written to it. Deallocating a pointer does not read the uninitialized contents, so the uninitdata warning was a false positive. The PR stops treating `delete` of a non-dereferenced pointer as a read, which removes it." } } ], "started": "2026-11-29 20:27:43 UTC", "runner": "aws-testrunner-2" }