Commit 08c8a267 authored by Rodrigo Moya's avatar Rodrigo Moya Committed by Rodrigo Moya

check strings before sending them to strchr().

2006-11-08  Rodrigo Moya <rodrigo@novell.com>

	* libslab/application-tile.c (verify_package_management_command):
	check strings before sending them to strchr().
parent 48584e87
2006-11-08 Rodrigo Moya <rodrigo@novell.com>
* libslab/application-tile.c (verify_package_management_command):
check strings before sending them to strchr().
2006-11-01 Rodney Dawes <dobey@novell.com>
* libslab/app-shell.c: If HAVE_CONFIG_H is defined then we should
......
......@@ -562,6 +562,8 @@ verify_package_management_command (gchar *gconf_key)
gboolean retval;
cmd = get_slab_gconf_string (gconf_key);
if (!cmd)
return FALSE;
args = strchr (cmd, ' ');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment