patch-src_ipa_ipa_h 922 B

1234567891011121314151617
  1. $OpenBSD: patch-src_ipa_ipa_h,v 1.1 2015/06/26 08:52:44 jasper Exp $
  2. Security fixes for CVE-2015-0848, CVE-2015-4588
  3. https://bugzilla.redhat.com/show_bug.cgi?id=1227243
  4. --- src/ipa/ipa.h.orig Sun Oct 28 15:07:20 2001
  5. +++ src/ipa/ipa.h Wed Jun 24 17:29:11 2015
  6. @@ -48,7 +48,7 @@ static int ReadBlobByte (BMPSource*);
  7. static unsigned short ReadBlobLSBShort (BMPSource*);
  8. static unsigned long ReadBlobLSBLong (BMPSource*);
  9. static long TellBlob (BMPSource*);
  10. -static void DecodeImage (wmfAPI*,wmfBMP*,BMPSource*,unsigned int,unsigned char*);
  11. +static int DecodeImage (wmfAPI*,wmfBMP*,BMPSource*,unsigned int,unsigned char*);
  12. static void ReadBMPImage (wmfAPI*,wmfBMP*,BMPSource*);
  13. static int ExtractColor (wmfAPI*,wmfBMP*,wmfRGB*,unsigned int,unsigned int);
  14. static void SetColor (wmfAPI*,wmfBMP*,wmfRGB*,unsigned char,unsigned int,unsigned int);