]> git.pld-linux.org Git - packages/barcode.git/blame - format-security.patch
- updated to 0.99
[packages/barcode.git] / format-security.patch
CommitLineData
e6af0131
JR
1--- barcode-0.98/plessey.c~ 2000-11-07 17:43:18.000000000 +0000
2+++ barcode-0.98/plessey.c 2015-04-05 20:20:57.170658797 +0000
3@@ -148,7 +148,7 @@
4 checkptr[i+j] ^= check[j];
5 }
6 for (i = 0; i < 8; i++) {
7- sprintf(ptr, patterns[checkptr[strlen(text) * 4 + i]]);
8+ sprintf(ptr, "%s", patterns[checkptr[strlen(text) * 4 + i]]);
9 ptr += 2;
10 }
11 fprintf(stderr, "CRC: ");
This page took 0.046936 seconds and 5 git commands to generate.