mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-20 11:27:09 +00:00
Correct byte mode length bug
This commit is contained in:
@@ -573,6 +573,7 @@ int aztec_text_process(unsigned char source[], char binary_string[], int gs1)
|
|||||||
do{
|
do{
|
||||||
bytes++;
|
bytes++;
|
||||||
}while(typemap[i + (bytes - 1)] == BINARY);
|
}while(typemap[i + (bytes - 1)] == BINARY);
|
||||||
|
bytes--;
|
||||||
|
|
||||||
if(bytes > 2079) {
|
if(bytes > 2079) {
|
||||||
return ERROR_TOO_LONG;
|
return ERROR_TOO_LONG;
|
||||||
|
|||||||
Reference in New Issue
Block a user