Public bug reported:

Binary package hint: acroread

This is in Ubuntu 7.0.4.  Makes firefox hang whenever you try to open a
.pdf with the acroread plugin.  The script has an error in its version
check for libgtk which must have just changed.   The function returns a
blank which causes the script to go into an infinite loop on an expr
error.  I changed the line that extracts the version number and fixed
the problem.

 sed
s/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g

I added an asterisk (*) after the last [0-9] which didn't have one and
unfortunately, the version had one too many 0's and the pattern didn't
match.  This only makes it slightly more robust.  Probably should put
something in whenever the version comes out blank as a safety.


I guess this could be a denial of service attack for acroread & firefox.

** Affects: acroread (Ubuntu)
     Importance: Undecided
         Status: New

** Visibility changed to: Public

-- 
Fix for acroread startup error / firefox hang
https://bugs.launchpad.net/bugs/124432
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to