On Aug 16, 2013, at 12:19 PM, Jeffrey Johnson wrote:
> 
> The reason for assigning to an otherwise unsigned pointer
-----------------------------------------------------------^^^^^^^^ unused of 
course
> is to ensure 2 things:
>       1) the value is often preserved on stack for gdb analysis
>       2) setting the pointer ensures that _SOME_ sane value (usually NULL 
> with _free)
>       is always set.
> 
> I'd rather see an immediate easy to fix segfault than an access to free'd or 
> uninitialized
> memory that may take months to be discovered when code gets rearranged.
> 

Reply via email to