hal/hald hald_dbus.c,1.16,1.16.2.1
David Zeuthen
david at freedesktop.org
Wed Dec 8 18:35:04 PST 2004
Update of /cvs/hal/hal/hald
In directory gabe:/tmp/cvs-serv20042/hald
Modified Files:
Tag: hal-0_4-stable-branch
hald_dbus.c
Log Message:
2004-12-08 David Zeuthen <davidz at redhat.com>
* hald/hald_dbus.c (device_query_capability): Fix crasher; reported by
leon breedt <bitserf at gmail.com>.
Index: hald_dbus.c
===================================================================
RCS file: /cvs/hal/hal/hald/hald_dbus.c,v
retrieving revision 1.16
retrieving revision 1.16.2.1
diff -u -d -r1.16 -r1.16.2.1
--- hald_dbus.c 14 Oct 2004 19:16:30 -0000 1.16
+++ hald_dbus.c 9 Dec 2004 02:35:02 -0000 1.16.2.1
@@ -1339,7 +1339,7 @@
char **capsv, **iter;
capsv = g_strsplit (caps, " ", 0);
- for (iter = capsv; iter != NULL; iter++) {
+ for (iter = capsv; *iter != NULL; iter++) {
if (strcmp (*iter, capability) == 0) {
rc = TRUE;
break;
More information about the hal-commit
mailing list