public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug analyzer/106597] New: False positive Wanalyzer-out-of-bounds warnings in coreutils/gnulib
@ 2022-08-12 14:14 tlange at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: tlange at gcc dot gnu.org @ 2022-08-12 14:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106597

            Bug ID: 106597
           Summary: False positive Wanalyzer-out-of-bounds warnings in
                    coreutils/gnulib
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: analyzer
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: tlange at gcc dot gnu.org
  Target Milestone: ---

Created attachment 53446
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53446&action=edit
false positive Wanalyzer-out-of-bounds in coreutils

When compiling coreutils with -fanalyzer enabled, a false positive
Wanalyzer-out-of-bounds underread warning is emitted in a complex flow. The
analyzer does think 'idx' can be 0 and thus, creates an offset_region with
offset - 1 in multiple locations. Logs attached.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-12 14:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-12 14:14 [Bug analyzer/106597] New: False positive Wanalyzer-out-of-bounds warnings in coreutils/gnulib tlange at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).