diff options
author | Chris White <chriswhite@gentoo.org> | 2004-09-19 16:01:38 +0000 |
---|---|---|
committer | Chris White <chriswhite@gentoo.org> | 2004-09-19 16:01:38 +0000 |
commit | 369fde7353061b96bdc8ad1b8c062ec573b0dff1 (patch) | |
tree | c28d38ed82dd51858e49166a3b3d440acdc9b7a6 /media-video/lxdvdrip | |
parent | no longer used packed jars (Manifest recommit) (diff) | |
download | gentoo-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')
-rw-r--r-- | media-video/lxdvdrip/ChangeLog | 6 | ||||
-rw-r--r-- | media-video/lxdvdrip/files/lxdvdrip-1.20_pre1-overflow.patch | 13 |
2 files changed, 16 insertions, 3 deletions
diff --git a/media-video/lxdvdrip/ChangeLog b/media-video/lxdvdrip/ChangeLog index 29e4f2882194..e09908e61dd7 100644 --- a/media-video/lxdvdrip/ChangeLog +++ b/media-video/lxdvdrip/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-video/lxdvdrip # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/lxdvdrip/ChangeLog,v 1.6 2004/09/19 15:36:00 chriswhite Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/lxdvdrip/ChangeLog,v 1.7 2004/09/19 16:01:38 chriswhite Exp $ + + 19 Sep 2004; Chris White <chriswhite@gentoo.org> + files/lxdvdrip-1.20_pre1-overflow.patch: + Fixed the overflow patch. Thanks to Florian Schilhabel for input on that. *lxdvdrip-1.20_pre1-r1 (19 Sep 2004) 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) |