Hi,

There's a bug in KVC. 
When constructing setValue:forKey: method name, the method in has garbage at the end 
(after the ':').
In NSKeyValueCoding.m, I think there should be a
      buf[size+5] = '\0';
after each
         buf[size+4] = ':';

BTW, is it possible to use strncpy instead of strcpy each time it's possible to try to 
minimize buffer overflows, even if
size seems to be well known ?

Manuel
--
______________________________________________________________________
Manuel Guesdon - OXYMIUM <[EMAIL PROTECTED]>
14 rue Jean-Baptiste Clement  -  93200 Saint-Denis  -  France
Tel: +33 1 4940 0999  -  Fax: +33 1 4940 0998


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to