On Tue, Sep 04, 2012 at 07:45:52AM +0200, Stefan Weil wrote:
> Report from smatch:
>
> target-cris/translate.c:3464 cpu_dump_state(32) error:
> buffer overflow 'env->sregs' 4 <= 255
>
> sregs is declared 'uint32_t sregs[4][16]', so the first index must be
> less than 4.
Hi Stefan,
I think it
Thanks Stefan. Ill apply this when i get back to swe in a couple of days.
Cheers
---
Sent from my phone
On Sep 3, 2012 10:46 PM, "Stefan Weil" wrote:
> Report from smatch:
>
> target-cris/translate.c:3464 cpu_dump_state(32) error:
> buffer overflow 'env->sregs' 4 <= 255
>
> sregs is declared '
Report from smatch:
target-cris/translate.c:3464 cpu_dump_state(32) error:
buffer overflow 'env->sregs' 4 <= 255
sregs is declared 'uint32_t sregs[4][16]', so the first index must be
less than 4.
Signed-off-by: Stefan Weil
---
I did not fix tabs, therefore checkpatch.pl reports an error.
ta