KNOWNBUG 1.2 KB
Newer Older
1

2
Known bugs in libpng-1.0.10
3

4 5 6 7 8 9 10 11 12 13 14 15
1. April 1, 2001: Missing type casts on png_malloc() calls (Dimitri Papadopolous)

   A call to png_malloc() in pngread.c is missing the (png_bytep) type cast,
   and four calls in pngset.c are missing type casts, (png_charp), (png_charp),
   (png_bytep), and (png_bytep), respectively.

   STATUS: fixed in libpng-1.0.11beta1.

2. April 3, 2001: "//" comments cause the SGI compiler (o32) to fail to
   compile pnggccrd.c (Richard Kettlewell).

   STATUS: fixed in libpng-1.0.11beta1.
16 17 18 19 20 21 22 23

3. April 5, 2001: The prototypes don't match several functions.

   Functions png_info_init, png_zalloc, and several others have PNGAPI
   in the C functions but not in the prototypes in png.h.  The functions
   involved are all either deprecated or intended only for internal use.

   STATUS: PNGAPI was removed from the C code in libpng-1.0.11beta2.
24 25 26 27

4. April 14, 2001: Many instances of png_malloc() are not followed by
   a check to make sure it didn't return NULL.

28 29 30 31
   STATUS: This only seems to matter if the user is using a custom
   malloc_fn() that returns NULL.  In libpng-1.0.11rc1 the return from
   malloc_fn() will be checked for NULL and png_error() issued if one
   is found.
新手
引导
客服 返回
顶部