Overview
Comment: | Fix missing retain in -[OFArray initWithObject:argList:]. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | 0.5 |
Files: | files | file ages | folders |
SHA3-256: |
bd7dbccb8bb78ec20d418c2db673e67b |
User & Date: | js 2011-05-08 23:25:49 |
Context
2011-05-12
| ||
19:47 | Also set finishedParsing if the root element is in short form. check-in: 05c29433ac user: js tags: 0.5 | |
2011-05-08
| ||
23:25 | Fix missing retain in -[OFArray initWithObject:argList:]. check-in: bd7dbccb8b user: js tags: 0.5 | |
2011-05-01
| ||
23:42 | Fix a possible out-of-bounds read in -[OFString unicodeString]. check-in: 4a9e45c2ad user: js tags: 0.5 | |
Changes
Changes to src/OFArray.m.
111 112 113 114 115 116 117 118 119 120 121 122 123 124 | { self = [self init]; @try { id obj; [array addItem: &first]; while ((obj = va_arg(args, id)) != nil) { [array addItem: &obj]; [obj retain]; } } @catch (id e) { [self release]; @throw e; | > > | 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | { self = [self init]; @try { id obj; [array addItem: &first]; [first retain]; while ((obj = va_arg(args, id)) != nil) { [array addItem: &obj]; [obj retain]; } } @catch (id e) { [self release]; @throw e; |