Fix crash when handling event listeners
authorMike Gorse <mgorse@novell.com>
Fri, 9 Sep 2011 21:06:55 +0000 (16:06 -0500)
committerMike Gorse <mgorse@novell.com>
Fri, 9 Sep 2011 21:06:55 +0000 (16:06 -0500)
commit61d2f00fb38be9c097bcff3bc8c309d2232c5de2
treebf97cba983f8855db1f2e1a04ccd11f80f530178
parentbd86c42036c9febf2e569160d69cca86a015416c
Fix crash when handling event listeners

When g_strsplit is called and returns one element, we should not try to write
to the third element in the returned array, since this will be an
invalid write and will likely lead to a crash.
registryd/registry.c