11 Feb
2004
11 Feb
'04
9:43 p.m.
Hi, today I got a file from pdftex with /ID [<B3CD97AFAC5A> <B3CD97AFAC5A>] Looks short, eh. More such short /IDs appear every once and then, e. g. by letting printID() run in a loop. Reason is in utils.c the function convertStringToHexString(), which calculates int lin = strlen(in); from the raw md5 sum, but this can contain real zeros, which are mis-interpreted as end of string. Solution could be to hardcode int lin = 16. And maybe rename the function to something special, e. g. convertMD5ResultToHexString(). Have fun. Regards, Hartmut