hald crash when sending QueryCapability('volume')

David Zeuthen david at fubar.dk
Wed Dec 8 18:37:38 PST 2004


On Tue, 2004-12-07 at 13:17 +1300, leon breedt wrote:
> When I send this message using the Python bindings (i got it from the
> example volumed.py), I can crash hald every time (0.4.2 on Ubuntu
> Hoary).
> 
> Here is a small test case in Python:
> 

I can reproduce this and I've fixed this on the 0.4.x branch. The fix
was trivial:

-               for (iter = capsv; iter != NULL; iter++) {
+               for (iter = capsv; *iter != NULL; iter++) {

Thanks for pointing this out.

Cheers,
David


_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list