[PATCH] improve handling of aggregates in sprintf [PR 102238, 102919]

2021-10-24 Thread Martin Sebor via Gcc-patches
The detection of overlapping sprintf calls has a limitation that leads to both false positives (PR 102919) and negatives (PR 102238) in corner cases involving members of aggregates. The false positives result from the overlap logic not using the size of the member used as an argument to %s to cons

Re: [PATCH] improve handling of aggregates in sprintf [PR 102238, 102919]

2021-10-24 Thread Jeff Law via Gcc-patches
On 10/24/2021 5:43 PM, Martin Sebor via Gcc-patches wrote: The detection of overlapping sprintf calls has a limitation that leads to both false positives (PR 102919) and negatives (PR 102238) in corner cases involving members of aggregates. The false positives result from the overlap logic not