Overview
Comment: | utils/objfw-new: Fix signedness bug |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
39f75cb4244c0c9e325b95c2d39375f4 |
User & Date: | js on 2022-10-30 18:27:43 |
Other Links: | manifest | tags |
Context
2022-10-30
| ||
18:30 | utils/ofarc: Remove pointless range check check-in: b01c12cecd user: js tags: trunk | |
18:27 | utils/objfw-new: Fix signedness bug check-in: 39f75cb424 user: js tags: trunk | |
18:25 | OFSystemInfo: Add fallback to MAX_PATH check-in: a3caef326b user: js tags: trunk | |
Changes
Modified utils/objfw-new/Property.m from [b0b533e64d] to [101e199c45].
︙ | ︙ | |||
49 50 51 52 53 54 55 | return self; } - (void)parseString: (OFString *)string { void *pool = objc_autoreleasePoolPush(); const char *UTF8String = string.UTF8String; | | > | 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | return self; } - (void)parseString: (OFString *)string { void *pool = objc_autoreleasePoolPush(); const char *UTF8String = string.UTF8String; size_t length = string.UTF8StringLength; ssize_t nameIdx = -1; OFMutableArray *attributes = nil; if (length > SSIZE_MAX) @throw [OFOutOfRangeException exception]; if (UTF8String[0] == '(') { for (size_t i = 0, level = 0; i < length; i++) { |
︙ | ︙ |