URL: <http://savannah.gnu.org/bugs/?42483>
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 _______________________________________________________ Details: 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: <http://savannah.gnu.org/bugs/?42483> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-gnustep mailing list Bug-gnustep@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gnustep