This is a fork of the original library found on Sourceforge.
I found that on some bad input, the library will spin in an infinite loop. Since this kills our servers, I needed to make a patch.
This bug was logged on Sourceforge, but there has been no progress on the issue in the intervening years. This repo adds the fix.