diff options
Diffstat (limited to 'media-sound/bladeenc/files/bladeenc-0.94.2-secfix.diff')
-rw-r--r-- | media-sound/bladeenc/files/bladeenc-0.94.2-secfix.diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/media-sound/bladeenc/files/bladeenc-0.94.2-secfix.diff b/media-sound/bladeenc/files/bladeenc-0.94.2-secfix.diff new file mode 100644 index 000000000000..5a126f2ceedd --- /dev/null +++ b/media-sound/bladeenc/files/bladeenc-0.94.2-secfix.diff @@ -0,0 +1,11 @@ +diff -Naur bladeenc-0.94.2/bladeenc/samplein.c bladeenc-0.94.2-fixed/bladeenc/samplein.c +--- bladeenc-0.94.2/bladeenc/samplein.c 2001-05-08 14:11:53.000000000 +0200 ++++ bladeenc-0.94.2-fixed/bladeenc/samplein.c 2003-02-05 11:19:59.000000000 +0100 +@@ -616,6 +616,7 @@ + static int myFseek (FILE *fp, int offset) + { + char dummy[256]; ++ offset = abs(offset); + + while (offset >= 256) + { |