gsubprocess: Fix potential strlen(NULL) calls
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Mon, 25 Nov 2013 13:35:53 +0000 (13:35 +0000)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Mon, 25 Nov 2013 15:46:51 +0000 (15:46 +0000)
commit299bcbfa41db0093bc876c1095f0aab248e3b771
treefd73f6b6911ba34d75fcdbd7c60b517012cad6df
parentd6a19d2e76654570c056ef328c6fb4fdda939272
gsubprocess: Fix potential strlen(NULL) calls

Also clarify the nullability of stdin_buf arguments in GSubprocess
communication calls.

Found with scan-build.

https://bugzilla.gnome.org/show_bug.cgi?id=715164
gio/gsubprocess.c