bugGNUstep - Bugs: bug #41628, NSJSONSerialization segfaults when...

Group
 
 

bug #41628: NSJSONSerialization segfaults when deserializing from file-based NSStream

Submitter:  Larry Campbell <lcampbel>
Submitted:  Mon 17 Feb 2014 08:00:22 PM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 13 Jul 2014 10:16:21 AM UTC, comment #3: 

Added that fix, thanks.

Richard Frith-Macdonald <CaS>
Group Member
Mon 17 Feb 2014 08:09:00 PM UTC, comment #2: 

BTW, the attached patch is relative to base 1.24.0.

Larry Campbell <lcampbel>
Mon 17 Feb 2014 08:05:26 PM UTC, comment #1: 

I'm attaching a unit test suit; method cr2549370 (our internal bug number) contains a reproducible test case for this bug.

(file #30591)

Larry Campbell <lcampbel>
Mon 17 Feb 2014 08:00:22 PM UTC, original submission:  

Multiple bugs, leading to incorrect deserialization or segfaults. Test case and patch to be attached shortly.

Larry Campbell <lcampbel>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #30592:  NSJSONSerialization.m.patch added by lcampbel (3KiB - application/octet-stream - Patch which corrects the bugs)
file #30591:  gnustep-base-tests.mm added by lcampbel (16KiB - application/octet-stream - Test program -- see method cr2549370)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by lcampbel (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-07-13 CaS StatusNone Fixed
        Open/ClosedOpen Closed
    2014-02-17 lcampbel Attached File- Added NSJSONSerialization.m.patch, #30592
    2014-02-17 lcampbel Attached File- Added gnustep-base-tests.mm, #30591

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code