[Scummvm-git-logs] scummvm master -> f5903521651fea36541ac2bc2929761ac1cbfff5
ccawley2011
noreply at scummvm.org
Sun Nov 21 23:53:44 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
f590352165 GRAPHICS: Fix invalid memory write in the DotMatrix scaler
Commit: f5903521651fea36541ac2bc2929761ac1cbfff5
https://github.com/scummvm/scummvm/commit/f5903521651fea36541ac2bc2929761ac1cbfff5
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2021-11-21T23:53:34Z
Commit Message:
GRAPHICS: Fix invalid memory write in the DotMatrix scaler
Changed paths:
graphics/scaler/dotmatrix.h
diff --git a/graphics/scaler/dotmatrix.h b/graphics/scaler/dotmatrix.h
index fc96fffdca..1c46228e83 100644
--- a/graphics/scaler/dotmatrix.h
+++ b/graphics/scaler/dotmatrix.h
@@ -39,7 +39,7 @@ protected:
uint8 *dstPtr, uint32 dstPitch, int width, int height, int x, int y) override;
private:
// Allocate enough for 32bpp formats
- uint32 lookup[16];
+ uint32 lookup[17];
template<typename Pixel>
void scaleIntern(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr,
uint32 dstPitch, int width, int height, int x, int y);
More information about the Scummvm-git-logs
mailing list