24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-16 22:05:29 +02:00

* src/stringprep/stringprep_drv.c: Bugfix

SVN Revision: 348
This commit is contained in:
Alexey Shchepin 2005-05-17 12:51:47 +00:00
parent d7a6fcb712
commit fb870ca15d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-05-17 Alexey Shchepin <alexey@sevcom.net>
* src/stringprep/stringprep_drv.c: Bugfix
2005-05-16 Alexey Shchepin <alexey@sevcom.net>
* src/win32/ejabberd.cfg: Updated (thanks to Sergei Golovan)

View File

@ -143,7 +143,7 @@ static int compose(int ch1, int ch2)
rstring[pos+2] = (char) ((ruc | 0x80) & 0xBF); \
pos += 3; \
} else if (ruc <= 0x1FFFFF) { \
if (pos + 2 >= size) { \
if (pos + 3 >= size) { \
size = 2*size + 4; \
rstring = driver_realloc(rstring, size); \
} \