pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] time module unit test cases


From: gerel
Subject: Re: [pdf-devel] time module unit test cases
Date: Fri, 18 Apr 2008 17:50:31 -0300

BTW, since the modules are public someone could do:

##
list = pdf_alloc (sizeof(pdf_list_t));
pdf_list_create (l_comp, l_disp, 0, list);
###

If the user don't check for the NULL pointer after calling alloc(), and
pdf_list_create() either a segfault would ocurr and the user will say that its
the library fault.

regards,

-gerel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]