S(oni)Ex Chat / Security Enhanced (He)xChat. because, I'm just done, I'm forking the thing.
If ptr[0] is NULL, then strchr may return a pointer to the NULL
terminator for serv->nick_prefixes, making the if statement true, which
then leads to the pointer increment leaving ptr oob. Now we check to
ensure ptr[0] != NULL.
From the Linux manpages for strchr:
The terminating null byte is considered part of the string, so that if c is
specified as '\0', these functions return a pointer to the terminator.
|
||
|---|---|---|
| .tx | ||
| data | ||
| osx | ||
| plugins | ||
| po | ||
| src | ||
| win32 | ||
| .editorconfig | ||
| .gitignore | ||
| .mailmap | ||
| .travis.yml | ||
| COPYING | ||
| Doxyfile | ||
| fedora-mingw64.ini | ||
| meson.build | ||
| meson_options.txt | ||
| meson_post_install.py | ||
| readme.md | ||
HexChat

HexChat is an IRC client for Windows and UNIX-like operating systems.
See IRCHelp.org for information about IRC in general.
For more information on HexChat please read our documentation:
X-Chat ("xchat") Copyright (c) 1998-2010 By Peter Zelezny. HexChat ("hexchat") Copyright (c) 2009-2014 By Berke Viktor. This program is released under the GPL v2 with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. You may provide binary packages linked to the OpenSSL libraries, provided that all other requirements of the GPL are met. See file COPYING for details.