bugGNU troff - Bugs: bug #55693, Possible bug in file...


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

Submitted by:  Petru-Florin Mihancea <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 Planned Release:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 11 Feb 2019 12:57:30 PM UTC, original submission:  

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.

Petru-Florin Mihancea

Petru-Florin Mihancea <petrum2>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by petrum2 (Submitted the item)
  • -email is unavailable- added by petrum2

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-11 petrum2 Carbon-Copy- => Added petrum@gmail.com

    Back to the top

    Powered by Savane 3.5