mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-23 12:57:07 +00:00
Prevent binary data corruption
Bugfix by Karl Semich Ref: http://sourceforge.net/p/zint/mailman/message/34330108/
This commit is contained in:
@@ -568,6 +568,7 @@ int aztec_text_process(unsigned char source[], const unsigned int src_len, char
|
|||||||
if(debug) printf("UL ");
|
if(debug) printf("UL ");
|
||||||
concat(binary_string, hexbit[31]);
|
concat(binary_string, hexbit[31]);
|
||||||
if(debug) printf("BS ");
|
if(debug) printf("BS ");
|
||||||
|
lasttable = UPPER;
|
||||||
newtable = BINARY;
|
newtable = BINARY;
|
||||||
break;
|
break;
|
||||||
case DIGIT: /* UL BS */
|
case DIGIT: /* UL BS */
|
||||||
@@ -575,6 +576,7 @@ int aztec_text_process(unsigned char source[], const unsigned int src_len, char
|
|||||||
if(debug) printf("UL ");
|
if(debug) printf("UL ");
|
||||||
concat(binary_string, hexbit[31]);
|
concat(binary_string, hexbit[31]);
|
||||||
if(debug) printf("BS ");
|
if(debug) printf("BS ");
|
||||||
|
lasttable = UPPER;
|
||||||
newtable = BINARY;
|
newtable = BINARY;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user