[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #42483] NSString segfaults on Linux 64Bit systems.

From: Yousry Abdallah
Subject: [bug #42483] NSString segfaults on Linux 64Bit systems.
Date: Sun, 01 Jun 2014 16:25:01 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0


                 Summary: NSString segfaults on Linux 64Bit systems.
                 Project: GNUstep
            Submitted by: yousry
            Submitted on: Sun 01 Jun 2014 04:25:00 PM GMT
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any



In advance I would like to apologize for this imprecise report (due to a lack
of time).   

The [NSSTRING cStringUsingEncoding:NSASCIIStringEncoding] method segfaults
under following conditions:

- Linux 64 Bit
- latest core compiled with clang version 3.5.0 (205406)
- The String is long (for example 23kb) and has an odd length (adding one char
avoid the segfault.)

Workaround: [NSSTRING UTF8String]

Perhaps there is a problem with the character length / array size calculation
but I'm not sure about that.   


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]