Differences From Artifact [3315fcda12]:
- File src/OFString.m — part of check-in [ff17b98ab2] at 2015-04-11 11:01:48 on branch trunk — OFOpenFileFailedException: Rename File -> Item (user: js, size: 55971) [annotate] [blame] [check-ins using]
To Artifact [ef29c8b8a2]:
- File src/OFString.m — part of check-in [daf78156a7] at 2015-05-03 11:34:12 on branch trunk — Check <= SSIZE_MAX before assignign to ssize_t (user: js, size: 56045) [annotate] [blame] [check-ins using]
︙ | |||
2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 | 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 | + + + | if (length == 0) { objc_autoreleasePoolPop(pool); return @""; } if (length - 1 > SSIZE_MAX) @throw [OFOutOfRangeException exception]; for (i = length - 1; i >= 0; i--) { if (OF_IS_PATH_DELIMITER(characters[i])) { i++; break; } } |
︙ |