png.c
If source[i] >= 128 && source[i] != 0xC2 && source[i] != 0xC3 then
'i' will never get incremented resulting in an endless loop.
693 void to_latin1(unsigned char source[], unsigned char preprocessed[])
...
701 while (i < input_length) {
702 if(source[i] < 128) {
...
706 } else {
707 if(source[i] == 0xC2) {
...
711 }
712 if(source[i] == 0xC3) {
...
716 }
717 }
718 }
Thank you, right.
Does the fix at commit [2a1d6b] work for you ?
https://sourceforge.net/p/zint/code/commit_browser
Thank you,
Harald
Related
Commit: [2a1d6b]
Howdy,
Thanks for the quick turn around. There is no longer a hang condition
(endless loop).
Regards,
Mark
On Mon, Jan 4, 2016 at 10:15 AM, Harald Oehlmann oehhar@users.sf.net
wrote:
Related
Tickets:
#11Commit: [2a1d6b]
Closed as fix was verified.
We could also place a replacement character for unprintables to show that there is something...
This is mainly helpful for control characters...