aboutsummaryrefslogtreecommitdiff
path: root/s390.ld
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-08-31 22:21:21 +0200
committerAlexander Graf <agraf@suse.de>2012-10-04 15:54:18 +0200
commit5a1972c8472fafd519a68b689fdcaf33ec857945 (patch)
tree2f940df27461b514676b6316f7fcd11d3e2d14cb /s390.ld
parentace9a2cbac9b2949aadc176ffa83a1d2a0873e2c (diff)
downloadqemu-5a1972c8472fafd519a68b689fdcaf33ec857945.zip
qemu-5a1972c8472fafd519a68b689fdcaf33ec857945.tar.gz
qemu-5a1972c8472fafd519a68b689fdcaf33ec857945.tar.bz2
ppc405_uc: Fix buffer overflow
Report from smatch: ppc405_uc.c:209 dcr_read_pob(12) error: buffer overflow 'pob->besr' 2 <= 2 ppc405_uc.c:232 dcr_write_pob(12) error: buffer overflow 'pob->besr' 2 <= 2 The old code reads and writes besr[POB0_BESR1 - POB0_BESR0] or besr[2] which is one too much. Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 's390.ld')
0 files changed, 0 insertions, 0 deletions