summaryrefslogtreecommitdiff
path: root/common/collection
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-05-28 20:03:37 -0400
committerSimo Sorce <ssorce@redhat.com>2009-05-28 20:03:37 -0400
commit3223205c56f9b85b483db31ac98590a3f64e40ca (patch)
tree052fcc45629fd7126c1844a0ec89349b8782778a /common/collection
parentd21ea70d9bd18e24026c5e6388866ff0af313b37 (diff)
downloadsssd-3223205c56f9b85b483db31ac98590a3f64e40ca.tar.gz
sssd-3223205c56f9b85b483db31ac98590a3f64e40ca.tar.bz2
sssd-3223205c56f9b85b483db31ac98590a3f64e40ca.zip
Fix potential integer oveflow
If mem_num is big enough then ptmem can be big enough that dlen - ptmem actually gives back a postive integer. Also tidy up the termination condition at the end of the buffer so that it is less confusing.
Diffstat (limited to 'common/collection')
0 files changed, 0 insertions, 0 deletions