Fixed a security issue in the library