This is an automated email from the git hooks/post-receive script. smcv pushed a commit to branch debian/master in repository ioquake3.
commit a48dcdf22472bf0c1206aefc3e01b6e22a49f3e6 Author: Zack Middleton <[email protected]> Date: Sat Sep 9 17:11:26 2017 -0500 Fix crash when out of memory in Team Arena's String_Alloc --- code/ui/ui_shared.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/ui/ui_shared.c b/code/ui/ui_shared.c index f26d11b..e574f78 100644 --- a/code/ui/ui_shared.c +++ b/code/ui/ui_shared.c @@ -198,6 +198,9 @@ const char *String_Alloc(const char *p) { } str = UI_Alloc(sizeof(stringDef_t)); + if (!str) { + return NULL; + } str->next = NULL; str->str = &strPool[ph]; if (last) { -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

