summaryrefslogtreecommitdiffstats
path: root/hw/pam.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@pond.sub.org>2013-01-10 14:24:49 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-01-14 08:59:38 +0100
commitbc5f92e5db6f303e73387278e32f8669f0abf0e5 (patch)
tree006ad6ca4e2bf25ce973c765e9198669faaf8671 /hw/pam.h
parent63fb2590839162afdf14d7c0ee02d460766c0956 (diff)
downloadhqemu-bc5f92e5db6f303e73387278e32f8669f0abf0e5.zip
hqemu-bc5f92e5db6f303e73387278e32f8669f0abf0e5.tar.gz
qxl: Fix SPICE_RING_PROD_ITEM(), SPICE_RING_CONS_ITEM() sanity check
The pointer arithmetic there is safe, but ugly. Coverity grouses about it. However, the actual comparison is off by one: <= end instead of < end. Fix by rewriting the check in a cleaner way. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/pam.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud