Patrick Leslie Polzer <[EMAIL PROTECTED]> writes:
> On Mon, 26 Dec 2005 10:34:28 -0600
> Harley D. Eades III <"Harley D. Eades III" <[EMAIL PROTECTED]>> wrote:
>
> | What is the difference between what I have and a PED_ASSERT? All the
> | PED_ASSERT will do is return if pth is NULL, right? The function as is
> | will not free anything unless there is memory, which is in my mind
> | correct.
> The problem is the crash that will occur when you dereference the pointer in
>
> if (pth->Reserved2)
if (pth && pth->Reserved2)
should work.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: [EMAIL PROTECTED] UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
you the whole house."
_______________________________________________
Bug-parted mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-parted