patchLibreDWG - Patches: patch #8466, sigsegv on sections without objects

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #8466: sigsegv on sections without objects

Submitter:  Sergey Fukanchik <fukanchik>
Submitted:  Tue 20 May 2014 08:19:00 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Works For Me Privacy:  Public
Assigned to:  reini_urban Open/Closed:  Closed

Tue 08 May 2018 04:30:12 PM UTC, comment #1: 

Thanks.
I added something like this last month already before seeing your patch.

Just the iterator > owned_object_count check not. Both values are unsigned int, so there might be a theoretical 2G overflow. In practice not, because you cannot malloc so many objects. I hope.

Reini Urban <reini_urban>
Group administrator
Tue 20 May 2014 08:19:00 PM UTC, original submission:  

Attached is a fix.

Sergey Fukanchik <fukanchik>

 

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

Attached Files
file #31406:  0001-Return-NULL-when-no-owned-objects.patch added by fukanchik (1KiB - text/x-patch - proposed fix)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by reini_urban (Updated the item)
  • -email is unavailable- added by fukanchik (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.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-08 reini_urban StatusIn Progress Works For Me
        Open/ClosedOpen Closed
    2018-04-25 reini_urban StatusNone In Progress
        Assigned toNone reini_urban
    2014-05-20 fukanchik Attached File- Added 0001-Return-NULL-when-no-owned-objects.patch, #31406

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code