# HG changeset patch # User Matti Hamalainen # Date 1568620494 -10800 # Node ID 6dc64deb671896d65c9992625aa7f7d506532730 # Parent 659c5f3d2e12275ac63fcd88da7dc459932cf129 Missed on dmGenericRLEAnalyze() call from a previous commit. diff -r 659c5f3d2e12 -r 6dc64deb6718 tools/lib64fmts.c --- a/tools/lib64fmts.c Mon Sep 16 10:38:33 2019 +0300 +++ b/tools/lib64fmts.c Mon Sep 16 10:54:54 2019 +0300 @@ -1708,7 +1708,8 @@ cfg.rleMinCountB = 4; cfg.rleMaxCountB = 255; - dmGenericRLEAnalyze(&tmp, &cfg); + if ((res = dmGenericRLEAnalyze(&tmp, &cfg)) != DMERR_OK) + goto out; // Add the header bits if (!dmGrowBufPutU8(buf, cfg.rleMarkerB))