diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2009-04-28 21:27:54 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2009-04-28 21:27:54 +0000 |
| commit | b6bb8c3d3a17625aa826094130b3d84530b6dae4 (patch) | |
| tree | f2de4a4d4b2f5c3fcbd1ee2ea6cce6d571bfb5f7 /sysutils/syslog-ng-devel/files/patch-src_main.c | |
| parent | e892f2bbcdaf08e461fb47a64eee749e1a02fe85 (diff) | |
Diffstat (limited to 'sysutils/syslog-ng-devel/files/patch-src_main.c')
| -rw-r--r-- | sysutils/syslog-ng-devel/files/patch-src_main.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/sysutils/syslog-ng-devel/files/patch-src_main.c b/sysutils/syslog-ng-devel/files/patch-src_main.c deleted file mode 100644 index e6423ef8fa25..000000000000 --- a/sysutils/syslog-ng-devel/files/patch-src_main.c +++ /dev/null @@ -1,22 +0,0 @@ -Patch for CVE-2008-5110 - -Obtained from: http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=14;mbox=yes;bug=505791 -Note: was not able to cleanly apply the original patch, so it was recreated - by hand using the original submission contents - ---- src/main.c.orig 2008-03-23 23:35:27.000000000 +0300 -+++ src/main.c 2008-11-18 14:38:13.000000000 +0300 -@@ -275,6 +275,13 @@ - { - if (chroot_dir) - { -+ if (chdir(chroot_dir) < 0) -+ { -+ msg_error("Error during chdir() before chroot()", -+ evt_tag_errno(EVT_TAG_OSERROR, errno), -+ NULL); -+ return 0; -+ } - if (chroot(chroot_dir) < 0) - { - msg_error("Error during chroot()", |
