Pngtools 0.3 released

posted at: 04:40 | path: /pngtools | permanent link to this entry

    #1

    403 error on pngtools_0.3.tgz.


    #5 Pierre Hanser

    hello
    seems there is a problem in pngchunks.c
    on line 167:

    printf(" Chunk CRC: %d\n", ntohl(*((long *) offset)));

    on some images, on specific architectures (sparc solaris)
    if offset is odd, ((long*)offset) makes a bus error.
    I think the value must be calculated byte after byte: the
    cast is legal only if value is aligned on word boundary.

    #6 Pierre Hanser

    in fact, there is a general problem with odd offsets
    i've an awfully modified version which works better
    Contact me if interested

    Add a comment to this post:

    Your name:

    Your email: Email me new comments on this post
      (Your email will not be published on this site, and will only be used to contact you directly with a reply to your comment if needed. Oh, and we'll use it to send you new comments on this post it you selected that checkbox.)


    Your website:

    Comments: