mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
CODABLOCKF: prevent cols > 62; fix pTestList buffer overflow
RMQR: update to new draft ISO/IEC JTC1/SC31N000 (Draft 2019-6-24); allow for righthand vertical timing pattern in populate_grid() ULTRA: update max size and min cols based on BWIPP 2021-07-14 update backend_tcl/zint_tcl.dsp: use /MD instead of /MT for tcl lib compat; change include/lib path to more standard one manual.txt: highlight that rMQR is still in development GUI: use cross-platform smaller font func instead of explicit values for notes
This commit is contained in:
@ -105,7 +105,7 @@ static int verify_character(char input, char type) {
|
||||
}
|
||||
}
|
||||
|
||||
static int verify_postcode(char* postcode, int type) {
|
||||
static int verify_postcode(char *postcode, int type) {
|
||||
int i;
|
||||
char pattern[11];
|
||||
|
||||
@ -152,7 +152,7 @@ INTERNAL int mailmark(struct zint_symbol *symbol, unsigned char source[], int le
|
||||
return ZINT_ERROR_TOO_LONG;
|
||||
}
|
||||
|
||||
strcpy(local_source, (char*) source);
|
||||
ustrcpy(local_source, source);
|
||||
|
||||
if (length < 22) {
|
||||
for (i = length; i <= 22; i++) {
|
||||
@ -168,7 +168,7 @@ INTERNAL int mailmark(struct zint_symbol *symbol, unsigned char source[], int le
|
||||
length = 26;
|
||||
}
|
||||
|
||||
to_upper((unsigned char*) local_source);
|
||||
to_upper((unsigned char *) local_source);
|
||||
|
||||
if (symbol->debug & ZINT_DEBUG_PRINT) {
|
||||
printf("Producing Mailmark %s\n", local_source);
|
||||
|
Reference in New Issue
Block a user