Re: [Qemu-devel] [PATCH 05/11] TCG: fix negative frame offset calculations
On 05/14/2011 12:38 PM, Blue Swirl wrote: > size_t is unsigned, so the frame offset calculations can be incorrect for > negative offsets. > > Signed-off-by: Blue Swirl Reviewed-by: Richard Henderson r~
[Qemu-devel] [PATCH 05/11] TCG: fix negative frame offset calculations
size_t is unsigned, so the frame offset calculations can be incorrect for negative offsets. Signed-off-by: Blue Swirl --- tcg/tcg.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tcg/tcg.c b/tcg/tcg.c index 8748c05..75972c3 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.