Always pass NUL-terminated text to command_spawn_editor()
authorLeonardo Taccari <iamleot@gmail.com>
Thu, 25 Oct 2018 11:55:21 +0000 (13:55 +0200)
committerLeonardo Taccari <iamleot@gmail.com>
Thu, 25 Oct 2018 11:55:21 +0000 (13:55 +0200)
commitbcaeed1773462e4abcae4e480839ef52f622fefc
tree1cd4db2dc5ceaba7fefae7c9c44dc5f550baf60c
parent0ed72711716b9fe08b6e6613cc33bddbd400e0be
Always pass NUL-terminated text to command_spawn_editor()

It seems that there is no any guarantee that
webkit_web_resource_get_data_finish() return data that is
NUL-terminated.
src/normal.c