diff options
| author | drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b <drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2007-08-28 04:43:10 +0000 |
|---|---|---|
| committer | drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b <drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2007-08-28 04:43:10 +0000 |
| commit | 817316d5f7343fc03870bd2986baebb21862e6b9 (patch) | |
| tree | 5d1e2889be17b9cc3082c56698d96b210a2ae932 | |
| parent | f539caac0d96f2e91f428f21691e3a7ee86d57ca (diff) | |
BUILD : 1.7.19 (1279) BUGS : 765 NOTES : Fixed bug when truncating passwords to PASSMAX with enc_none.
git-svn-id: svn://svn.anope.org/anope/trunk@1279 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@997 5417fbe8-f217-4b02-8779-1006273d7864
| -rw-r--r-- | Changes | 1 | ||||
| -rw-r--r-- | src/core/enc_none.c | 1 | ||||
| -rw-r--r-- | version.log | 6 |
3 files changed, 7 insertions, 1 deletions
@@ -21,6 +21,7 @@ Anope Version S V N 08/27 F Added missed help for NS CONFIRM. [#759] 08/27 F Fixed typo in en_us.l [#767] 08/27 F inspircd11 protocol now uses svshold [#683] +08/28 F Fixed bug when truncating passwords to PASSMAX with enc_none [#765] Anope Version 1.7.19 -------------------- diff --git a/src/core/enc_none.c b/src/core/enc_none.c index ca37ac4b3..59c78c9dc 100644 --- a/src/core/enc_none.c +++ b/src/core/enc_none.c @@ -43,6 +43,7 @@ int plain_encrypt(const char *src,int len,char *dest,int size) { if(size>=len) { memset(dest,0,size); strncpy(dest,src,len); + dest[len] = '\0'; return 0; } return -1; diff --git a/version.log b/version.log index e8dacda3d..21bb25fbe 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="19" VERSION_EXTRA="-svn" -VERSION_BUILD="1278" +VERSION_BUILD="1279" # $Log$ # +# BUILD : 1.7.19 (1279) +# BUGS : 765 +# NOTES : Fixed bug when truncating passwords to PASSMAX with enc_none. +# # BUILD : 1.7.19 (1278) # BUGS : 683, 767 # NOTES : [1] typo in en_us.l [2] Provided by katsklaws patch: inspircd11 protocol now uses svshold. |
