mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
a106fefcfb
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. |
||
---|---|---|
.. | ||
gen_ndr | ||
idl | ||
ndr | ||
rpc | ||
tools | ||
build_idl.sh | ||
ndr_standard.pc.in | ||
ndr.pc.in | ||
tables.pl |