mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-27 13:34:19 -04:00
Remove memory allocation bug
Slightly expands the size of memory allocated for data to go into Data Matrix symbols, correcting a bug reported by SCOPE GmbH
This commit is contained in:
parent
2853b473f6
commit
be4652fcb9
1 changed files with 1 additions and 1 deletions
|
@ -764,7 +764,7 @@ void add_tail(unsigned char target[], int tp, int tail_length, int last_mode)
|
|||
int data_matrix_200(struct zint_symbol *symbol, unsigned char source[], int length)
|
||||
{
|
||||
int inputlen, i;
|
||||
unsigned char binary[2000];
|
||||
unsigned char binary[2200];
|
||||
int binlen;
|
||||
int symbolsize, optionsize, calcsize;
|
||||
int taillength, error_number = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue