bug-gnustep
[Top][All Lists]
Advanced

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

[bug #35699] NSStrings can point into garbage memory (misuse of app-supp


From: Jens Alfke
Subject: [bug #35699] NSStrings can point into garbage memory (misuse of app-supplied backing buffer)
Date: Fri, 02 Mar 2012 18:54:31 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.22 (KHTML, like Gecko) Chrome/19.0.1049.3 Safari/535.22

Follow-up Comment #1, bug #35699 (project gnustep):

I looked at GSString.m a bit.
It seems that substring_c and substring_u should check the parent string's
_flags.owned and create a GSSubString only if the flag is true; otherwise they
should be conservative and create a regular string with a copy of the
characters/bytes.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35699>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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