sd-device: fix device_get_properties_strv()
authorTom Gundersen <teg@jklm.no>
Wed, 27 May 2015 21:26:39 +0000 (23:26 +0200)
committerTom Gundersen <teg@jklm.no>
Wed, 27 May 2015 21:30:02 +0000 (23:30 +0200)
commit0e3e60561395a8dd0464f9427d7fc9209bf3b007
treef762921caaea653528388c7be211f2202fa87686
parent86c3bece38bcf55da6387d20c6f01da9ad0284dc
sd-device: fix device_get_properties_strv()

A NULL pointer was inserted as the first element of the strv.

This had the effect of always passing the empty environment to processes
spawned by udev.

Reported by MichaƂ Bartoszkiewicz.
src/libsystemd/sd-device/device-private.c