mirror of
https://github.com/anope/anope.git
synced 2026-07-02 09:46:38 +02:00
BUILD : 1.7.11 (893) BUGS : NOTES : Fixed a segfault in find_byuid() if it was passed with a NULL-argument
git-svn-id: svn://svn.anope.org/anope/trunk@893 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@640 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
f13848d99e
commit
00bf5bcace
@@ -8,6 +8,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005
|
||||
07/01 A Events for channel access/xop updates. [ #00]
|
||||
06/26 A New module pack module: hs_request. [ #00]
|
||||
06/03 A Protocol files can now fill mod_current_buffer with custom code. [#389]
|
||||
09/21 F Segfault when find_byuid() was called with a NULL argument. [ #00]
|
||||
09/20 F Ident length checking when adding a bot was broken. [ #00]
|
||||
09/20 F No response was giving when trying to load a non-existing module. [ #00]
|
||||
09/18 F Last host was not always correctly set to a vHost if applied. [ #00]
|
||||
|
||||
@@ -376,6 +376,12 @@ User *find_byuid(const char *uid)
|
||||
{
|
||||
User *u, *next;
|
||||
|
||||
if (!uid) {
|
||||
if (debug)
|
||||
alog("debug: find_byuid() called with NULL-value");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
u = first_uid();
|
||||
while (u) {
|
||||
next = next_uid();
|
||||
|
||||
+5
-1
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="11"
|
||||
VERSION_EXTRA="-rc2"
|
||||
VERSION_BUILD="892"
|
||||
VERSION_BUILD="893"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.11 (893)
|
||||
# BUGS :
|
||||
# NOTES : Fixed a segfault in find_byuid() if it was passed with a NULL-argument
|
||||
#
|
||||
# BUILD : 1.7.11 (892)
|
||||
# BUGS :
|
||||
# NOTES : Applied patch by Trystan to [1] strip CR/LF as well with normalizeBuffer() [2] fix various issues with hs_request (makes use of #1 in hs_request so that lines that are \n only are not processed; Adds check of tmp before allowing strtol() to get its hands on it; HSRequestDBName is set during the config load, if not by the config its sstrdup() with the default value.. so that the message at the end of the load does not read (NULL); frees the HSRequestDBName on unload; ran indent again it)
|
||||
|
||||
Reference in New Issue
Block a user