RE: v2.3.6 message delete causes signal 10

From: Rosenbaum, Larry M. (no email)
Date: Thu Jun 01 2006 - 10:06:23 EDT

  • Next message: Ken Murchison: "Re: Strip HTML"

    > > More information: it crashes when it tries to do the dereference in
    the
    > > above statement. I think it may be an alignment problem; the
    location
    > > pointed to by (buf+OFFSET_MODSEQ_64) is not aligned on an 8-byte
    > > boundary, and I am able to dereference the location 4 bytes before
    or
    > > after that location.
    >
    > This makes sense, but unless my math is wrong, OFFSET_MODSEQ_64 is at
    > byte 72, which puts it on a 8-byte boundary. Perhaps it needs to be
    on
    > a 16-byte boundary.

    Your math is correct. However, "buf" is not on an 8-byte boundary,
    because mailbox->start_offset (line 974) is equal to 92.

    ----
    Cyrus Home Page: http://asg.web.cmu.edu/cyrus
    Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    

  • Next message: Ken Murchison: "Re: Strip HTML"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD