summaryrefslogtreecommitdiff
path: root/source4/torture/libnet/groupinfo.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-12-20 10:25:46 +1100
committerAndrew Tridgell <tridge@samba.org>2009-12-21 23:41:07 +1100
commita106fefcfb0cb60ce439884d8cd0c920d2fb193a (patch)
treefa5ac7f77c41b97733f885004cf877ca370b4d3c /source4/torture/libnet/groupinfo.c
parent2a4a159a8443ebaae53f5902a0f5c1f8536a6edd (diff)
downloadsamba-a106fefcfb0cb60ce439884d8cd0c920d2fb193a.tar.gz
samba-a106fefcfb0cb60ce439884d8cd0c920d2fb193a.tar.bz2
samba-a106fefcfb0cb60ce439884d8cd0c920d2fb193a.zip
librpc: fixed the GUID_compare() function
When comparing two unsigned values you can't just subtract them. Imagine you are comparing: "uint32_t u1" and "uint32_t u2". If you use "u1 - u2" and u2 is zero, then the signed integer result will depend on the top bit of u1. This error occurs in a few places in Samba. For DRS replication it resulted in corrupt uptodateness vectors.
Diffstat (limited to 'source4/torture/libnet/groupinfo.c')
0 files changed, 0 insertions, 0 deletions