Patches item #3886, was opened at 2009-04-06 05:38
Status: Open
Priority: 3
Submitted By: Heiko Oberdiek (oberdiek)
Assigned to: Nobody (None)
Summary: Fix for str_less_str (bug #993)
Category: None
Group: None
Resolution: None
Initial Comment:
The patch is based on pdftex-1.40.9.
It fixes the bug #993 `/Names array not sorted correctly'
by correcting function `str_less_str'.
In theory pdfTeX can still be fooled by
* invalid pdf strings and
* equal destination names that only differs
in the way of escaping.
But both problems can be solved at macro level by passing
the name argument of \pdfdest through \pdfescapestring.
Yours sincerely
Heiko
----------------------------------------------------------------------
Comment By: Heiko Oberdiek (oberdiek)
Date: 2009-04-06 15:14
Message:
Thanh,
I forgot. Thanks, also for removing the redundancy --
I am not too familiar with the "web" language.
Yours sincerely
Heiko
----------------------------------------------------------------------
Comment By: The Thanh Han (hanthethanh)
Date: 2009-04-06 15:01
Message:
Heiko,
it seems the test (c2 < 32) is missing for the second string. I changed slightly your patch. It looks a bit ugly now but less redundant.
----------------------------------------------------------------------
Comment By: Heiko Oberdiek (oberdiek)
Date: 2009-04-06 06:08
Message:
pdftex2.web.diff replaces pdftex.web.diff.
It handles the case correctly if the octal sequence
starts with a digit greater than three.
----------------------------------------------------------------------
You can respond by visiting:
http://sarovar.org/tracker/?func=detail&atid=495&aid=3886&group_id=106