chiark / gitweb /
sd-device: fix device_get_properties_strv()
authorTom Gundersen <teg@jklm.no>
Wed, 27 May 2015 21:26:39 +0000 (23:26 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:01:12 +0000 (10:01 +0100)
commit993e17947b005caa23636762683e0cf0afb2a600
treedde29c6444485b66a745e8bc886b6b984fa5b944
parentb23f5188ade6ad95d02db160caa6b4c107f81342
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/libelogind/sd-device/device-private.c