commit ff42765184d0bcb461e7f0f26d8880a0045c3fc2
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sun Jul 10 05:47:08 2016 +0100
forgot add patches
dvd95-format-security.patch | 22 ++++++++++++++++++++++
dvd95-hardening.patch | 11 +++++++++++
2 files changed, 33 insertions(+)
---
diff --git a/dvd95-format-security.patch b/dvd95-format-security.patch
new file mode 100644
index 0000000..dbc8fdc
--- /dev/null
+++ b/dvd95-format-security.patch
@@ -0,0 +1,22 @@
+--- dvd95-code-01dd592f7a8352d61fd5d8faa75463ebfd954980/src/uitools.c.orig 2016-07-10
05:24:20.128952672 +0100
++++ dvd95-code-01dd592f7a8352d61fd5d8faa75463ebfd954980/src/uitools.c 2016-07-10
05:28:54.336505447 +0100
+@@ -95,8 +95,9 @@ int MessageBoxError( char * format, ...
+ mbox = gtk_message_dialog_new( GTK_WINDOW(MainDlg),
+ GTK_DIALOG_MODAL,
+ GTK_MESSAGE_ERROR,
+- GTK_BUTTONS_OK,
+- (const gchar *)message );
++ GTK_BUTTONS_OK,
++ "%s",
++ (const gchar *) message );
+ gtk_dialog_run( GTK_DIALOG( mbox ) );
+ gtk_widget_destroy( GTK_WIDGET( mbox ) );
+ return( 0 );
+@@ -123,6 +124,7 @@ int MessageBoxYesNo( char * format, ...
+ GTK_DIALOG_MODAL,
+ GTK_MESSAGE_QUESTION,
+ GTK_BUTTONS_YES_NO,
++ "%s",
+ (const gchar *)message );
+ b = gtk_dialog_run( GTK_DIALOG( mbox ) );
+ gtk_widget_destroy( GTK_WIDGET( mbox ) );
diff --git a/dvd95-hardening.patch b/dvd95-hardening.patch
new file mode 100644
index 0000000..1ca0bd7
--- /dev/null
+++ b/dvd95-hardening.patch
@@ -0,0 +1,11 @@
+--- dvd95-code-01dd592f7a8352d61fd5d8faa75463ebfd954980/configure.in.orig 2016-07-09
18:35:26.738348447 +0100
++++ dvd95-code-01dd592f7a8352d61fd5d8faa75463ebfd954980/configure.in 2016-07-10
04:00:33.515939022 +0100
+@@ -13,7 +13,7 @@ AC_ISC_POSIX
+ dnl
+ dnl warning flags; always add -Wall
+ dnl
+-CFLAGS="-Wall -O3"
++#CFLAGS="-Wall -O3"
+
+ AC_PROG_CC
+ AM_PROG_CC_STDC