hotplug.c: Make sure hotplug buffer is NULL terminated
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 19 Dec 2018 09:51:57 +0000 (10:51 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 27 Dec 2018 12:22:26 +0000 (13:22 +0100)
commite2b055edf26419c183f4bdc3aa47da789081f72e
tree90c548b7a100cc705c4da09a20bd86dc4eae7a86
parentd6673547adc3768ce674799fa35952351866c9d0
hotplug.c: Make sure hotplug buffer is NULL terminated

Sets the final byte explicitly to NULL because we later do string
operations on this buffer.

Fixes Coverity issue 1430926 String not null terminated

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
plug/hotplug.c