On 05/10/2017 02:37 PM, Saurav Babu wrote:
If pnp_file doesn't exists then its contents were not read and
variable remained NULL. Later when pnp variable was passed to
g_strsplit() function then below GLib warning occured:
(connmand:32767): GLib-CRITICAL **: g_strsplit: assertion 'string != NULL'
connmand: get_nfs_server_ip: Cannot split pnp at file "/proc/net/pnp"
This patch returns error if pnp_file doesn't exists
Ah thanks for fixing this. It was annoying me as well :)