array bounds overrun in linux-user/signal.c

Bug #711272 reported by Peter Maydell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro QEMU
Fix Released
High
Unassigned

Bug Description

armel build failed again due to our picky gcc:

  CC sparc-linux-user/signal.o
cc1: warnings being treated as errors
/build/buildd/qemu-linaro-0.13.50-2011.02-0~rc1+dfsg/linux-user/signal.c: In function 'process_pending_signals':
/build/buildd/qemu-linaro-0.13.50-2011.02-0~rc1+dfsg/linux-user/signal.c:1979: error: array subscript is above array bounds
/build/buildd/qemu-linaro-0.13.50-2011.02-0~rc1+dfsg/linux-user/signal.c:1979: error: array subscript is above array bounds

Build log:
http://launchpadlibrarian.net/63295358/buildlog_ubuntu-maverick-armel.qemu-linaro_0.13.50-2011.02-0~rc1%2Bdfsg-0ubuntu2~ppa1_FAILEDTOBUILD.txt.gz

Brief code inspection suggests the warning is correct.

Revision history for this message
Peter Maydell (pmaydell) wrote :

Proposed fix sent upstream: http://patchwork.ozlabs.org/patch/81332/

Revision history for this message
Peter Maydell (pmaydell) wrote :

...and committed to qemu-linaro git tree.

I'm doing a local build on armel to see if there are any more of these lurking.

Changed in qemu-linaro:
status: New → Fix Committed
Peter Maydell (pmaydell)
Changed in qemu-linaro:
milestone: 2011.02-rc1 → 2011.02-rc2
Peter Maydell (pmaydell)
Changed in qemu-linaro:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.