xbmc/xbmc — comment on commit c5651f07548c321286e286f758e8a0a17d5a14a3
File: lib/cmyth/libcmyth/mythtv_mysql.c line 939
By dummy2dummy:

Looks like check if malloc() succeeded missed. Else further sprintf() could cause a crash.

Should be added something like that:

if (buf == NULL)
{
*message = NULL;
return -1;
}

WBR