diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2011-12-01 18:20:12 +0000 |
---|---|---|
committer | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2011-12-01 18:20:12 +0000 |
commit | dc52d92824439f5259fd24d476ad7ba5e043dd4e (patch) | |
tree | 16b497db51de1198657453269e490b3d5d628642 /Config.mk | |
parent | 06be13898b572bc4f5e219153b57cc209ad26aaf (diff) | |
download | xen-dc52d92824439f5259fd24d476ad7ba5e043dd4e.tar.gz xen-dc52d92824439f5259fd24d476ad7ba5e043dd4e.tar.bz2 xen-dc52d92824439f5259fd24d476ad7ba5e043dd4e.zip |
libxc: Fix checks on grant notify arguments
The notify offset and event channels are both unsigned variables, so
testing for >= 0 will not correctly detect the use of -1 to indicate
the field is unused. Remove the useless comparison and replace with
correct range checks or comparisons to -1.
Reported-by: Anil Madhavapeddy <anil@recoil.org>
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'Config.mk')
0 files changed, 0 insertions, 0 deletions