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 17 Feb 2014 08:00:22 PM UTC  
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

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

Added that fix, thanks.

Richard Frith-Macdonald <CaS>
Project 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>


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
  • -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 13 Jul 2014 10:16:21 AM UTCCaSStatusNone=>Fixed
    Mon 17 Feb 2014 08:08:38 PM UTClcampbelAttached File-=>Added NSJSONSerialization.m.patch, #30592
    Mon 17 Feb 2014 08:05:26 PM UTClcampbelAttached File-=>Added gnustep-base-tests.mm, #30591

    Back to the top

    Powered by Savane 3.1-cleanup1