- Added a new query,
cpp/use-of-unique-pointer-after-lifetime-ends, to detect uses of the contents unique pointers that will be destroyed immediately. - The
cpp/incorrectly-checked-scanfquery has been added. This finds results where the return value of scanf is not checked correctly. Some of these were previously found bycpp/missing-check-scanfand will no longer be reported there.
- The
cpp/badly-bounded-writequery could report false positives when a pointer was first initialized with a literal and later assigned a dynamically allocated array. These false positives now no longer occur.