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


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

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

Submitted by:  Larry Campbell <lcampbel>
Submitted on:  Mon Feb 17 20:00:22 2014  
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

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

Added that fix, thanks.

Richard Frith-Macdonald <CaS>
Project Member
Mon Feb 17 20:09:00 2014, comment #2:

BTW, the attached patch is relative to base 1.24.0.

Larry Campbell <lcampbel>
Mon Feb 17 20:05:26 2014, 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 Feb 17 20:00:22 2014, original submission:

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

Larry Campbell <lcampbel>


Attached Files
file #30592:  NSJSONSerialization.m.patch added by lcampbel (3kB - application/octet-stream - Patch which corrects the bugs)
file #30591:  gnustep-base-tests.mm added by lcampbel (16kB - 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
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by lcampbel (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Jul 13 10:16:21 2014CaSStatusNone=>Fixed
    Mon Feb 17 20:08:38 2014lcampbelAttached File-=>Added NSJSONSerialization.m.patch, #30592
    Mon Feb 17 20:05:26 2014lcampbelAttached File-=>Added gnustep-base-tests.mm, #30591

    Back to the top

    Powered by Savane 3.1-cleanup1