Overview
| Comment: | Fix nullability issues found by clang-analyzer |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
d93bcda0b2935a28a7b89e2bca865b3c |
| User & Date: | js on 2023-08-25 23:32:14 |
| Other Links: | manifest | tags |
Context
|
2023-08-26
| ||
| 10:44 | ofhttp: Add error message for failed TLS handshake (check-in: 579dd0a7ee user: js tags: trunk) | |
|
2023-08-25
| ||
| 23:32 | Fix nullability issues found by clang-analyzer (check-in: d93bcda0b2 user: js tags: trunk) | |
| 17:02 | Fix build on Windows (check-in: 5f897cae6d user: js tags: trunk) | |
Changes
Modified src/OFHTTPResponse.m from [dd8060da94] to [089b720c12].
| ︙ | |||
210 211 212 213 214 215 216 217 218 219 | 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 | + + - + |
length: length - last];
value = value.stringByDeletingTrailingWhitespaces;
if ([name isEqual: @"charset"])
charset = value;
}
ret = OFStringEncodingAutodetect;
if (charset != nil) {
@try {
ret = OFStringEncodingParseName(charset);
} @catch (OFInvalidArgumentException *e) {
|
| ︙ |
Modified src/OFXMLParser.h from [e18365e7c0] to [a3f7893b62].
| ︙ | |||
39 40 41 42 43 44 45 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | - + | * * @param parser The parser which found a processing instruction * @param target The target of the processing instruction * @param text The text of the processing instruction */ - (void)parser: (OFXMLParser *)parser foundProcessingInstructionWithTarget: (OFString *)target |
| ︙ |
Modified src/exceptions/OFBindUNIXSocketFailedException.h from [ada45067d6] to [0339e89f3b].
| ︙ | |||
39 40 41 42 43 44 45 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | - + - + | * @brief Creates a new, autoreleased bind UNIX socket failed exception. * * @param path The path on which binding failed * @param socket The socket which could not be bound * @param errNo The errno of the error that occurred * @return A new, autoreleased bind UNIX socket failed exception */ |
Modified src/runtime/private.h from [7ee10f418d] to [af11dd9f17].
| ︙ | |||
35 36 37 38 39 40 41 | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | - + | Class _Nullable superclass; const char *_Nonnull name; unsigned long version; unsigned long info; long instanceSize; struct objc_ivar_list *_Nullable ivars; struct objc_method_list *_Nullable methodList; |
| ︙ |
Modified utils/ofarc/Archive.h from [41439c3fd1] to [ca9ef12a7d].
| ︙ | |||
16 17 18 19 20 21 22 | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | - + - + | #import "OFObject.h" #import "OFFile.h" #import "OFArray.h" OF_ASSUME_NONNULL_BEGIN @protocol Archive <OFObject> |
Modified utils/ofarc/OFArc.m from [5c5bcb3795] to [732031f459].
| ︙ | |||
484 485 486 487 488 489 490 | 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 | - + + + | help(OFStdErr, true, 1); break; } [OFApplication terminateWithStatus: _exitStatus]; } |
| ︙ | |||
643 644 645 646 647 648 649 | 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 | - + - + | writingNotSupported(type); goto error; } return archive; error: |
| ︙ |