nsize = 0;
} else {
nsize = ntoh16(nsize);
+diff -urN poldek-0.18.8.org/pkgfl.c poldek-0.18.8/pkgfl.c
+--- poldek-0.18.8.org/pkgfl.c 2004-12-30 13:05:22.000000000 +0100
++++ poldek-0.18.8/pkgfl.c 2005-04-20 23:21:45.000000000 +0200
+@@ -557,12 +557,15 @@
+ int pkgfl_skip_f(FILE *stream)
+ {
+ uint32_t size;
++ char *buf;
+
+ if (fread(&size, sizeof(size), 1, stream) != 1)
+ return 0;
+
+ size = ntoh32(size);
+- fseek(stream, size + 1, SEEK_CUR);
++ /* skip size + 1 bytes */
++ buf = alloca(size + 1);
++ fread(buf, 1, size + 1, stream);
+ return 1;
+ }
+
+