bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #55693] Possible bug in file src/devices/grohtml/post-html.cpp line


From: Petru-Florin Mihancea
Subject: [bug #55693] Possible bug in file src/devices/grohtml/post-html.cpp line 1751
Date: Mon, 11 Feb 2019 07:57:32 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?55693>

                 Summary: Possible bug in file
src/devices/grohtml/post-html.cpp line 1751
                 Project: GNU troff
            Submitted by: petrum2
            Submitted on: Mon 11 Feb 2019 12:57:30 PM UTC
                Category: Device grohtml
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

While experimenting with a novel static analysis technique in CodeSonar, we
noticed the following potential problem at the next location:

FilePath: src/devices/grohtml/post-html.cpp
Function: assert_state::add 
Line number: 1751

At that line, the f pointer is deallocated. However, f may point to the
"stdin" literal assigned to it in line 1740 resulting in the deallocation of a
non-heap pointer. 

Thanks,
Petru-Florin Mihancea 




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55693>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]