Fixed the size of the bitmap_t.line array, fixes out-of-bounds acceses.
This commit is contained in:
@@ -65,7 +65,7 @@ typedef struct {
|
||||
typedef struct {
|
||||
int w, h;
|
||||
uint32_t *dat;
|
||||
uint32_t *line[2048];
|
||||
uint32_t *line[2112];
|
||||
} bitmap_t;
|
||||
|
||||
typedef struct {
|
||||
|
Reference in New Issue
Block a user