branches with status:
Name Status Last Modified Last Commit
lp://staging/libnih bug 1 Development 2012-12-17 10:36:51 UTC
1054. * nih-dbus-tool/tests/test_com.netspl...

Author: Scott James Remnant (Canonical)
Revision Date: 2011-09-01 18:41:03 UTC

* nih-dbus-tool/tests/test_com.netsplit.Nih.Test_object.c
(test_unix_fd_to_str): Sanity check value before invoking strchr in
case it returns address of null (which would give a misleading test
pass).
* nih-dbus-tool/tests/test_com.netsplit.Nih.Test_proxy.c
(test_unix_fd_to_str, test_unix_fd_to_str_sync): Sanity check value
before invoking strchr in case it returns address of null (which would
give a misleading test pass).
* nih/config.c (): nih_config_block_end: Add check to ensure strchr()
doesn't return address of null since this would result in a misleading
return value of TRUE.

11 of 1 result