[xar] checking a struct is NULL to use it?
13 Apr
2016
13 Apr
'16
7:04 a.m.
There is some "strange" code in the latest xar project (302): archive.c - line 802: if( previousAttr == NULL ) XAR(previousAttr)->attrs = XAR_ATTR(currentAttr)->next; with: #define XAR(x) ((struct __xar_t *)(x)) At least, Xcode static analyzer is not happy. It's also not happy in 14 other locations in the source code. Bug ID#25698642 _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app... This email sent to site_archiver@lists.apple.com
3494
Age (days ago)
3494
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stephane Sudre