Open ghost opened 1 year ago
Hi,in this case (https://godbolt.org/z/4Md3o94Gx), the ptr
is a null pointer, but the analyzer doesn't report an NPD with it. When __builtin_strlen(buf) == 0
(https://godbolt.org/z/fnbMY9W5z), the analyzer reports that.
CSA not FN: https://godbolt.org/z/bTMK4vEM8
report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110520