aboutsummaryrefslogtreecommitdiffstats
path: root/tools/cppcheck
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-07-21 01:24:54 +0000
committerGuy Harris <guy@alum.mit.edu>2012-07-21 01:24:54 +0000
commitbddb918dc4b94f2f3023fdf8924fcea3e2160565 (patch)
tree67240b3b1189594a78092c97585509fd458cda2f /tools/cppcheck
parentd6533eb467b8a3083d3e2c7a1c81a4cf8a540519 (diff)
The 32-bit-key tree code assumes that the pointer to the key can be cast
to a pointer to a guint32 and dereferenced. On some platforms, such as SPARC, this requires that the pointer be aligned on a 4-byte boundary; there is no guarantee that the data field of an address structure is aligned on a 4-byte boundary, so allocate a buffer for a copy of that data and copy the data into it, and free it when we're done with it. Should fix bug 7501. svn path=/trunk/; revision=43880
Diffstat (limited to 'tools/cppcheck')
0 files changed, 0 insertions, 0 deletions