mirror of
https://git.freebsd.org/ports.git
synced 2025-07-12 23:09:19 -04:00
Submitted by: gerald <gerald@hannibal.symicon.com> - the original notification about the vpopmail distfile checksum change Fix a possible buffer underflow bug in the changed code. Add a new ENABLE_MYSQL_LIMITS knob for .qmailadmin-limits processing, and DISABLE the new MySQL limits code - it does not even compile as shipped :( Use the correct configure script option for specifying the path to the tcprules program, so vpopmail works even with LOCALBASE != /usr/local. Submitted by: Mike Meyer <mwm@mired.org> - the tcprules patch
11 lines
419 B
C
11 lines
419 B
C
--- vdelivermail.c.orig Sat Nov 2 22:34:39 2002
|
|
+++ vdelivermail.c Sat Nov 2 22:35:20 2002
|
|
@@ -263,7 +263,7 @@
|
|
|
|
/* check for wildcard if there's no match */
|
|
if(tmpstr == NULL) {
|
|
- for(i=strlen(TheUser);i >= 0 && j != 1;--i) {
|
|
+ for(i=strlen(TheUser);i > 0 && j != 1;--i) {
|
|
if(TheUser[i-1]=='-') {
|
|
tmpuser[0] = '\0';
|
|
strncat(tmpuser,TheUser,i);
|