The variable rx_bytes is marked VARLOW, but there was a missing GET_LOW() to access rx_bytes. Fix by copying rx_bytes to a local variable and avoid the repetitive segment memory accesses.
Reported-by: Gabe Black gabe.black@gmail.com Signed-off-by: Volker Rümelin vr_qemu@t-online.de Signed-off-by: Kevin O'Connor kevin@koconnor.net
src/sercon.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-)
Thank you.