mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
Fix a segfault when authenticating against the system passwd file:
there's little sense in passing an integer port number to a string comparison routine :) Bump PORTREVISION. Reported by: Rudy <rudy@tzone.it>
This commit is contained in:
parent
a8ffa62f35
commit
e756b17c46
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61256
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= vpopmail
|
||||
PORTVERSION= 5.3.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.inter7.com/devel/
|
||||
|
||||
|
11
mail/vpopmail-devel/files/patch-vchkpw.c
Normal file
11
mail/vpopmail-devel/files/patch-vchkpw.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- vchkpw.c.orig Thu Jun 13 15:05:53 2002
|
||||
+++ vchkpw.c Thu Jun 13 15:06:16 2002
|
||||
@@ -556,7 +556,7 @@
|
||||
pw_gid = pw->pw_gid;
|
||||
pw_dir = pw->pw_dir;
|
||||
#ifdef POP_AUTH_OPEN_RELAY
|
||||
- if ( (strcmp(LocalPort, "25") != 0) && (strcmp(LocalPort, "465") != 0)) {
|
||||
+ if ( (LocalPort != 25) && (LocalPort != 465)) {
|
||||
open_smtp_relay();
|
||||
}
|
||||
#endif
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= vpopmail
|
||||
PORTVERSION= 5.3.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.inter7.com/devel/
|
||||
|
||||
|
11
mail/vpopmail/files/patch-vchkpw.c
Normal file
11
mail/vpopmail/files/patch-vchkpw.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- vchkpw.c.orig Thu Jun 13 15:05:53 2002
|
||||
+++ vchkpw.c Thu Jun 13 15:06:16 2002
|
||||
@@ -556,7 +556,7 @@
|
||||
pw_gid = pw->pw_gid;
|
||||
pw_dir = pw->pw_dir;
|
||||
#ifdef POP_AUTH_OPEN_RELAY
|
||||
- if ( (strcmp(LocalPort, "25") != 0) && (strcmp(LocalPort, "465") != 0)) {
|
||||
+ if ( (LocalPort != 25) && (LocalPort != 465)) {
|
||||
open_smtp_relay();
|
||||
}
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user