mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-23 04:47:03 +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 ");
|
||||
concat(binary_string, hexbit[31]);
|
||||
if(debug) printf("BS ");
|
||||
lasttable = UPPER;
|
||||
newtable = BINARY;
|
||||
break;
|
||||
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 ");
|
||||
concat(binary_string, hexbit[31]);
|
||||
if(debug) printf("BS ");
|
||||
lasttable = UPPER;
|
||||
newtable = BINARY;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user