mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
e522de4808
to find bugs. On 64 bit IRIX, structure packing means that
a
struct {
SMB_DEV_T dev /* 4 bytes */
SMB_INO_T ino /* 8 bytes */
}
has 4 bytes of padding between the two members. If you
don't null the memory before using it as a tdb key,
you randomly can't find keys depending on what is in
the padding. This caused me immense pain and was hard
to track down.... :-)
Jeremy.
(This used to be commit
|
||
---|---|---|
.. | ||
brlock.c | ||
locking.c | ||
posix.c |