diff -r 24ed4812e580 -r b0aa53a5f970 coders/wpg.c --- a/coders/wpg.c Tue Jun 02 07:45:45 2020 -0500 +++ b/coders/wpg.c Sat Jun 06 14:12:18 2020 -0500 @@ -413,9 +413,12 @@ /** Call this function to ensure that all data matrix is filled with something. This function * is used only to error recovery. */ -static void ZeroFillMissingData(unsigned char *BImgBuff,unsigned long x, unsigned long y, Image *image, - int bpp, long ldblk) +static MagickPassFail ZeroFillMissingData(unsigned char *BImgBuff,unsigned long x, unsigned long y, Image *image, + int bpp, long ldblk) { + MagickPassFail + status = MagickPass; + while(yrows && image->exception.severity!=UndefinedException) { if((long) x