--- wv-clean/decode_simple.c	2009-09-01 16:38:31.000000000 +0800
+++ wv-c4/decode_simple.c	2026-11-05 16:47:35.599786861 +0800
@@ -755,6 +755,12 @@
 	    }
 	  i++;
       }
+    if (nopos < 2)
+      {
+          *fcFirst = 0;
+          *fcLim = 0xffffffff;
+          return (0);
+      }
     *fcFirst = wvNormFC (rgfc[nopos - 2], NULL);
     *fcLim = wvNormFC (rgfc[nopos - 1], NULL);
     wvTrace (("I'd rather not see this happen at all :-)\n"));
