summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2004-09-19 16:01:38 +0000
committerChris White <chriswhite@gentoo.org>2004-09-19 16:01:38 +0000
commit369fde7353061b96bdc8ad1b8c062ec573b0dff1 (patch)
treec28d38ed82dd51858e49166a3b3d440acdc9b7a6 /media-video/lxdvdrip/files
parentno longer used packed jars (Manifest recommit) (diff)
downloadgentoo-2-369fde7353061b96bdc8ad1b8c062ec573b0dff1.tar.gz
gentoo-2-369fde7353061b96bdc8ad1b8c062ec573b0dff1.tar.bz2
gentoo-2-369fde7353061b96bdc8ad1b8c062ec573b0dff1.zip
Fixed the overflow patch. Thanks to Florian Schilhabel for input on that.
Diffstat (limited to 'media-video/lxdvdrip/files')
-rw-r--r--media-video/lxdvdrip/files/lxdvdrip-1.20_pre1-overflow.patch13
1 files changed, 11 insertions, 2 deletions
diff --git a/media-video/lxdvdrip/files/lxdvdrip-1.20_pre1-overflow.patch b/media-video/lxdvdrip/files/lxdvdrip-1.20_pre1-overflow.patch
index 7eb21b1c83bb..31de2ad7fa0a 100644
--- a/media-video/lxdvdrip/files/lxdvdrip-1.20_pre1-overflow.patch
+++ b/media-video/lxdvdrip/files/lxdvdrip-1.20_pre1-overflow.patch
@@ -1,5 +1,5 @@
---- lxdvdrip.c_old 2004-09-19 14:49:07.013638160 +0900
-+++ lxdvdrip.c 2004-09-19 14:50:06.330620608 +0900
+--- lxdvdrip.c_old 2004-09-19 14:49:07.013638160 +0900
++++ lxdvdrip.c 2004-09-19 15:21:42.472363248 +0900
@@ -333,7 +333,7 @@
char szPfad[4096];
int i;
@@ -9,3 +9,12 @@
strcpy (szVerzeichnis, "");
for (i=0; i<strlen(szPfad); i++)
{
+@@ -1033,7 +1033,7 @@
+
+ // Auslesen der Parameter aus einer Datei
+ // Zuerst lokal versuchen
+- strcpy (szBefehl, getenv ("HOME"));
++ strncpy (szBefehl, getenv ("HOME"), 4096);
+ strcat (szBefehl, "/.lxdvdrip.conf");
+ fConf=fopen(szBefehl, "r");
+ if (!fConf)