SOURCES: sshsniff-config.patch (NEW) - read config from /etc rathe...

glen glen at pld-linux.org
Mon Jun 5 08:11:29 CEST 2006


Author: glen                         Date: Mon Jun  5 06:11:29 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- read config from /etc rather current dir

---- Files affected:
SOURCES:
   sshsniff-config.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/sshsniff-config.patch
diff -u /dev/null SOURCES/sshsniff-config.patch:1.1
--- /dev/null	Mon Jun  5 08:11:29 2006
+++ SOURCES/sshsniff-config.patch	Mon Jun  5 08:11:23 2006
@@ -0,0 +1,11 @@
+--- sshsniff/sshsniff.c~	1999-12-24 19:03:30.000000000 +0200
++++ sshsniff/sshsniff.c	2006-06-05 09:10:13.312708352 +0300
+@@ -35,7 +35,7 @@
+ 	signal(SIGTERM,signal_exit);	/*  ... or killed */
+ 
+ 	argv = process_options(argc, argv);
+-	read_config_file("./sshsniff.conf");
++	read_config_file("/etc/sshsniff.conf");
+ 	if (getenv("HOME")) {
+ 		char path[PATH_MAX];
+ 		sprintf(path, getenv("HOME"));	/* FIXME: buffer overrun */
================================================================


More information about the pld-cvs-commit mailing list