mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:Make LZX decompression a little more robust
This commit is contained in:
commit
a91fa52351
@ -187,6 +187,7 @@ decompress(PyObject *self, PyObject *args)
|
||||
|
||||
if (err != MSPACK_ERR_OK) {
|
||||
Py_DECREF(retval);
|
||||
retval = NULL;
|
||||
PyErr_SetString(LzxError, "LZX decompression failed");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user