From: Toni Wilen Date: Mon, 28 Jul 2025 17:33:31 +0000 (+0300) Subject: Fix possible buffer underrun. X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=939040a1a519dc96acf009532bb618746d641b55;p=francis%2Fwinuae.git Fix possible buffer underrun. --- diff --git a/specialmonitors.cpp b/specialmonitors.cpp index 330af339..8f204667 100755 --- a/specialmonitors.cpp +++ b/specialmonitors.cpp @@ -3459,7 +3459,7 @@ static bool opalvision(struct vidbuffer *src, struct vidbuffer *dst, bool double } // blank left and right edge - for (x = 0; x < (xoffset + 2); x++) { + for (x = 1; x < (xoffset + 2); x++) { uae_u8 *d = dstline + ((x << 1) >> hdbl_shift) * dst->pixbytes; uae_u8 *d2 = d + dst->rowbytes; PUT_PRGB(d, d2, dst, 0, 0, 0, 0, doublelines, true);