]> git.pld-linux.org Git - packages/XmHTML.git/commitdiff
- fix format string error auto/th/XmHTML-1.1.7-14
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 6 Nov 2013 21:15:14 +0000 (22:15 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 6 Nov 2013 21:15:14 +0000 (22:15 +0100)
- rel 14

XmHTML.spec
format-security.patch [new file with mode: 0644]

index 27a213a02b7059933bd3b385f626054dce6b90ed..3e9c2d58fcfc241a73d5391f817972504dc13c50 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Motif HTML widget
 Summary(pl.UTF-8):     Widget do HTML-a oparty o Motif
 Name:          XmHTML
 Version:       1.1.7
-Release:       13
+Release:       14
 License:       LGPL
 Group:         X11/Libraries
 Source0:       http://www.xs4all.nl/~ripley/XmHTML/dist/%{name}-%{version}.tar.gz
@@ -10,6 +10,7 @@ Source0:      http://www.xs4all.nl/~ripley/XmHTML/dist/%{name}-%{version}.tar.gz
 Patch0:                %{name}-am.patch
 Patch1:                %{name}-macro.patch
 Patch2:                %{name}-libpng.patch
+Patch3:                format-security.patch
 URL:           http://www.xs4all.nl/~ripley/XmHTML/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -61,6 +62,7 @@ Statyczna wersja biblioteki XmHTML.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 # Argh! automake stuff outdated, imake stuff outdated even more,
 # makefiles not outdated but don't support shared libraries :/
 # Use automake with some patches/workarounds/etc
diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..ea269df
--- /dev/null
@@ -0,0 +1,11 @@
+--- XmHTML-1.1.7/lib/common/parse.c.orig       1999-01-20 06:13:08.000000000 +0100
++++ XmHTML-1.1.7/lib/common/parse.c    2013-11-06 22:11:19.395801941 +0100
+@@ -1935,7 +1935,7 @@
+                       sprintf(msg, XMHTML_MSG_128, html_tokens[id], html_tokens[current]);
+                       break;
+               case HTML_INTERNAL:
+-                      sprintf(msg, XMHTML_MSG_129);
++                      sprintf(msg, "%s", XMHTML_MSG_129);
+                       break;
+               case HTML_NOTIFY:       /* not reached */
+                       return;
This page took 0.037887 seconds and 4 git commands to generate.