LibreDWG - 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: |
Reini Urban <reini_urban> |
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
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 | Status | In Progress | Works For Me | |
Open/Closed | Open | Closed | |||
2018-04-25 | reini_urban | Status | None | In Progress | |
Assigned to | None | reini_urban | |||
2014-05-20 | fukanchik | Attached File | - | Added 0001-Return-NULL-when-no-owned-objects.patch, #31406 |
Powered by Savane 3.13-4448.
Corresponding source code
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.