-
Committer:
Scott James Remnant
-
Date:
2011-09-01 18:41:03 UTC
-
mfrom:
(1052.2.1 libnih-strchr-fixes)
-
Revision ID:
scott@netsplit.com-20110901184103-d2xbvc5hbt0vqxf0
* 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.