Overview
Comment: | Fix -[OFData description] |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | 0.90 |
Files: | files | file ages | folders |
SHA3-256: |
793b89e263e7a2dfc389a3404b67220e |
User & Date: | js on 2017-08-13 22:38:51 |
Other Links: | branch diff | manifest | tags |
Context
2017-08-19
| ||
15:54 | Fix a linker warning on OpenBSD/SPARC64 check-in: dbfe400f6e user: js tags: 0.90 | |
2017-08-13
| ||
22:38 | Fix -[OFData description] check-in: 793b89e263 user: js tags: 0.90 | |
13:50 | OFArray: Fix MessagePack encoding check-in: abe1d8cb58 user: js tags: 0.90 | |
Changes
Modified src/OFData.h from [ef14e3ba64] to [9086a3be08].
︙ | ︙ | |||
30 31 32 33 34 35 36 | * * For security reasons, serialization and deserialization is only implemented * for OFData with item size 1. */ @interface OFData: OFObject <OFCopying, OFMutableCopying, OFComparing, OFSerialization, OFMessagePackRepresentation> { | | | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | * * For security reasons, serialization and deserialization is only implemented * for OFData with item size 1. */ @interface OFData: OFObject <OFCopying, OFMutableCopying, OFComparing, OFSerialization, OFMessagePackRepresentation> { unsigned char *_items; size_t _count, _itemSize; bool _freeWhenDone; } /*! * The size of a single item in the OFData in bytes. */ |
︙ | ︙ |
Modified src/OFData.m from [ab1e932258] to [945c020d4d].
︙ | ︙ | |||
181 182 183 184 185 186 187 | { self = [super init]; @try { if (itemSize == 0) @throw [OFInvalidArgumentException exception]; | | | 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 | { self = [super init]; @try { if (itemSize == 0) @throw [OFInvalidArgumentException exception]; _items = (unsigned char *)items; _itemSize = itemSize; _count = count; _freeWhenDone = freeWhenDone; } @catch (id e) { [self release]; @throw e; } |
︙ | ︙ |