File source-luazlib.dif of Package texlive.33324
Fix bsc#1138793 -- pstopdf crashed when starting (core dumped)
---
texk/web2c/luatexdir/luazlib/lzlib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- texk/web2c/luatexdir/luazlib/lzlib.c
+++ texk/web2c/luatexdir/luazlib/lzlib.c 2020-05-20 15:46:26.696694289 +0000
@@ -551,7 +551,7 @@ LUALIB_API int luaopen_zlib(lua_State *L
/* make sure header and library version are consistent */
const char* version = zlibVersion();
- if (strncmp(version, ZLIB_VERSION, 5))
+ if (strncmp(version, ZLIB_VERSION, 4))
{
lua_pushfstring(L, "zlib library version does not match - header: %s, library: %s", ZLIB_VERSION, version);
lua_error(L);