[Developers] Patch: Check string lists for overflow

Erik Schnetter schnetter at aei.mpg.de
Sun Jun 5 07:50:18 CDT 2005


String lists have a maximum size that is decided when it is created.  
When adding strings to a list, check that this size is not exceeded.

-erik

PS: It should be documented that string lists are really string sets.  
Duplicate items, as decided by case-independent comparison, will not be 
added.

-- 
Erik Schnetter <schnetter at aei.mpg.de>   http://www.aei.mpg.de/~eschnett/

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: StringList.diff
Type: text/x-diff
Size: 3037 bytes
Desc: not available
Url : http://www.cactuscode.org/pipermail/developers/attachments/20050605/8dd28898/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.cactuscode.org/pipermail/developers/attachments/20050605/8dd28898/attachment-0003.bin 


More information about the Developers mailing list