RE: v2.3.6 message delete causes signal 10

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

 




> > 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


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux