mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-15 23:54:34 -04:00
ZBarcode_Encode_File: suppress gcc -fanalyzer warning, props Andre Maute; ZINT_MAX_FILE_LEN
This commit is contained in:
parent
acdfc73cce
commit
f09826b9a4
4 changed files with 76 additions and 26 deletions
|
@ -296,7 +296,7 @@ static int is_raster(char *filetype) {
|
|||
|
||||
static int batch_process(struct zint_symbol *symbol, char *filename, int mirror_mode, char *filetype, int rotate_angle) {
|
||||
FILE *file;
|
||||
unsigned char buffer[7828] = {0}; // 7828 maximum HanXin input
|
||||
unsigned char buffer[ZINT_MAX_FILE_LEN] = {0}; // Maximum HanXin input
|
||||
unsigned char character = 0;
|
||||
int posn = 0, error_number = 0, line_count = 1;
|
||||
char output_file[256];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue