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

Submitted by:  Sergey Fukanchik <fukanchik>
Submitted on:  Tue 20 May 2014 08:19:00 PM UTC  
 
Category:  None Priority:  5 - Normal
Status:  Works For Me Privacy:  Public
Assigned to:  Reini Urban <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>
Project AdministratorIn charge of this item.
Tue 20 May 2014 08:19:00 PM UTC, original submission:

Attached is a fix.

Sergey Fukanchik <fukanchik>

 

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)
  •  

    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.

     

     

     

    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.3