diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2018-05-19 18:32:34 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2018-05-19 18:32:34 +0000 |
commit | 440e17cfd78581f1fb47faf088b28c8b0fb56a64 (patch) | |
tree | 0f5ef0d031bc904a6b5ee239783d06be8f6a0b78 /ftp/vsftpd-ext/files/patch-utility.c | |
parent | - Update to 3.0.1 (diff) |
- Update to 3.0.3.1
PR: 227491
Submitted by: Leonid Nevecherya
Approved by: maintainer timeout
Sponsored by: iXsystems Inc.
Diffstat (limited to 'ftp/vsftpd-ext/files/patch-utility.c')
-rw-r--r-- | ftp/vsftpd-ext/files/patch-utility.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ftp/vsftpd-ext/files/patch-utility.c b/ftp/vsftpd-ext/files/patch-utility.c new file mode 100644 index 000000000000..5d68a4295326 --- /dev/null +++ b/ftp/vsftpd-ext/files/patch-utility.c @@ -0,0 +1,13 @@ +--- utility.c.orig 2012-09-23 00:14:36 UTC ++++ utility.c +@@ -40,6 +40,10 @@ die2(const char* p_text1, const char* p_ + void + bug(const char* p_text) + { ++ static int inside_bug = 0; ++ if (inside_bug) ++ vsf_sysutil_exit(1); ++ inside_bug++; + /* Rats. Try and write the reason to the network for diagnostics */ + vsf_sysutil_activate_noblock(VSFTP_COMMAND_FD); + (void) vsf_sysutil_write_loop(VSFTP_COMMAND_FD, "500 OOPS: ", 10); |