Detect bugs even if a function of the malloc() family is called using a constant pointer.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM
FYI: it's been difficult to perform this review because all of these reviews are touching the same chunk of code for something that's not been committed yet. It would be easier to review if all of these reviews were combined into the review adding the check.
Comment Actions
I am also working for the Static Analyzer where I received the comment that development should be incremental to avoid huge patches. So I tried to use the same approach here as well.
Comment Actions
Incremental is definitely the way to go, but that's usually to prevent massive code dumps of large-scale functionality. For a single, relatively small check like this, I think it's fine to add all of this into one review because it's all so tightly related.