Re: [xar] checking a struct is NULL to use it?
Re: [xar] checking a struct is NULL to use it?
- Subject: Re: [xar] checking a struct is NULL to use it?
- From: "Justin C. Walker" <email@hidden>
- Date: Wed, 13 Apr 2016 18:00:55 -0700
On Apr 13, 2016, at 00:04 , Stephane Sudre wrote:
> 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;
Certainly looks like bad code (the 0-page is not mapped in, ISTR).
--
Justin C. Walker, Curmudgeon at Large
Director
Institute for the Enhancement of the Director's income
-----------
Question 43:
What if the hokey pokey
really *is* what it’s all about?
--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden