bugGNU roff - Bugs: bug #47160, [libgroff,troff] invalid use of...

 
 

bug #47160: [libgroff,troff] invalid use of memcpy()

Submitter:  Balint Reczey <rbalint>
Submitted:  Mon 15 Feb 2016 09:14:02 PM UTC
   
 
Category:  General Severity:  3 - Normal
Item Group:  Crash/Unresponsive Status:  Fixed
Privacy:  Public Assigned to:  wl
Open/Closed:  Closed Planned Release:  1.22.4
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 15 Feb 2016 11:17:22 PM UTC, comment #1: 

Patch applied, thanks!

Werner LEMBERG <wl>
Group administrator
Mon 15 Feb 2016 09:14:02 PM UTC, original submission:  

....
groff-1.22.3/debian/build/../../src/libs/libgroff/string.cpp:144:24: runtime error: null pointer passed as argument 1, which is declared to never be null
/usr/include/x86_64-linux-gnu/bits/string3.h:53:89: runtime error: null pointer passed as argument 1, which is declared to never be null
ASAN:SIGSEGV
...

Many invalid memoory accesses were caught by ASAN & UBSAN while bootstrapping hardened1-linux-amd64 Debian port. This is one set of them.

Balint Reczey <rbalint>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #36347:  0002-Don-t-try-to-memcpy-to-NULL-or-from.patch added by rbalint (1KiB - text/x-diff - patch fixing the issues)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Updated the item)
  • -email is unavailable- added by wl (Updated the item)
  • -email is unavailable- added by rbalint (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-05-02 gbranden CategoryNone General
        SummaryInvalid use of memcpy() at multiple places [libgroff,troff] invalid use of memcpy()
    2016-02-15 wl StatusNone Fixed
        Assigned toNone wl
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.22.4
    2016-02-15 rbalint Attached File- Added 0002-Don-t-try-to-memcpy-to-NULL-or-from.patch, #36347

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code