sd-device: Allocate enough room for tags string
authorMartin Pitt <martin.pitt@ubuntu.com>
Wed, 6 Apr 2016 21:50:39 +0000 (23:50 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Wed, 6 Apr 2016 21:50:39 +0000 (23:50 +0200)
commit817ec8cc819787240efda834483d8a7a512d2933
treec1c5e422ef582338d4f0040279f3ec3603cc8889
parentbf8f7583ee2a6f93ede82c97d6b47f1f4a7245db
sd-device: Allocate enough room for tags string

Fix commit 1d88a2: We need to allocate another byte for building the "tags"
string, as we append an extra ':' and still need the NUL terminator.
src/libsystemd/sd-device/sd-device.c