mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Prevent possible buffer overrun
Spotted by Milton Neal
This commit is contained in:
parent
75803e8aa2
commit
68fdae09c3
@ -138,7 +138,7 @@ int mailmark(struct zint_symbol *symbol, unsigned char source[], int length) {
|
|||||||
short int b[112];
|
short int b[112];
|
||||||
short int temp[112];
|
short int temp[112];
|
||||||
short int cdv[112];
|
short int cdv[112];
|
||||||
unsigned char data[25];
|
unsigned char data[26];
|
||||||
int data_top, data_step;
|
int data_top, data_step;
|
||||||
unsigned char check[7];
|
unsigned char check[7];
|
||||||
short int extender[27];
|
short int extender[27];
|
||||||
|
Loading…
Reference in New Issue
Block a user