summaryrefslogtreecommitdiff
path: root/graphics/dvipng/patches/patch-ab
blob: a2ec732a1191243eb2225e7a2e8b1da4868bd037 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ab,v 1.1 2010/05/17 20:21:38 tez Exp $
CVE-2010-0829

--- dvipng.h	2009-10-10 02:29:09 +0000
+++ dvipng.h	2010-04-27 09:34:06 +0000
@@ -387,9 +387,9 @@
 void      WriteImage(char*, int);
 void      LoadPK(int32_t, register struct char_entry *);
 int32_t   SetChar(int32_t);
-dviunits  SetGlyph(int32_t c, int32_t hh,int32_t vv);
+dviunits  SetGlyph(struct char_entry *ptr, int32_t hh,int32_t vv);
 void      Gamma(double gamma);
-int32_t   SetVF(int32_t);
+int32_t   SetVF(struct char_entry *ptr);
 int32_t   SetRule(int32_t, int32_t, int32_t, int32_t);
 void      SetSpecial(char *, int32_t, int32_t);
 void      BeginVFMacro(struct font_entry*);