diff options
author | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-31 07:42:09 +0000 |
---|---|---|
committer | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-08-31 07:42:09 +0000 |
commit | 46a4409b754ffa05dcebfe7381813a51ad479c1f (patch) | |
tree | 3a7bbf77ad82f63d9ddc588a8cdcf342624cfa13 | |
parent | bd18fd54c0fbcbaaf624041c2288f26fce7941e3 (diff) |
Fixed a double free in m_ident. Found by AnMaster
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8005 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_ident.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 16629d700..628a7b5aa 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -282,6 +282,7 @@ class ModuleIdent : public Module if (user->GetExt("IDENT", identstr)) { delete identstr; + user->Shrink("IDENT"); } } } @@ -306,6 +307,7 @@ class ModuleIdent : public Module if (user->GetExt("IDENT", identstr)) { delete identstr; + user->Shrink("IDENT"); } } |