test_dnd: Check return value of strchr it can be NULL.
authorDaniel Juyung Seo <juyung.seo@samsung.com>
Fri, 10 Jan 2014 04:30:36 +0000 (13:30 +0900)
committerDaniel Juyung Seo <juyung.seo@samsung.com>
Fri, 10 Jan 2014 04:30:39 +0000 (13:30 +0900)
commitb70a7fe50a928e75147a535c0a4aaa5e9846c588
treeff61b8fe966531c377320a679a7063f4a42cde4c
parent66d2b7df56d1fc0900f8e407e17f3967efc23534
test_dnd: Check return value of strchr it can be NULL.

This fixes coverity CID 1152899 and 1152898.
src/bin/test_dnd.c