Home
last modified time | relevance | path

Searched hist:"9302 e863" (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/tests/qemu-iotests/
H A D076.out9302e863 Wed Mar 26 07:06:09 CDT 2014 Kevin Wolf <kwolf@redhat.com> parallels: Sanity check for s->tracks (CVE-2014-0142)

This avoids a possible division by zero.

Convert s->tracks to unsigned as well because it feels better than
surviving just because the results of calculations with s->tracks are
converted to unsigned anyway.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
H A D0769302e863 Wed Mar 26 07:06:09 CDT 2014 Kevin Wolf <kwolf@redhat.com> parallels: Sanity check for s->tracks (CVE-2014-0142)

This avoids a possible division by zero.

Convert s->tracks to unsigned as well because it feels better than
surviving just because the results of calculations with s->tracks are
converted to unsigned anyway.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
/openbmc/qemu/block/
H A Dparallels.c9302e863 Wed Mar 26 07:06:09 CDT 2014 Kevin Wolf <kwolf@redhat.com> parallels: Sanity check for s->tracks (CVE-2014-0142)

This avoids a possible division by zero.

Convert s->tracks to unsigned as well because it feels better than
surviving just because the results of calculations with s->tracks are
converted to unsigned anyway.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>