udev: specify the end of value
authorgaoyi <ymuemc@163.com>
Sun, 12 Jul 2020 07:24:42 +0000 (03:24 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 27 Jul 2020 08:26:33 +0000 (10:26 +0200)
commitb06ab67ff1b1a12ca86183df7ecf37f832b3a3f9
tree35864f04591d4487276442f578620e6e8be1b743
parent5325d280ab8468b981014c700d1d6cc1f01a3c02
udev: specify the end of value

NULSTR_FOREACH may read the illegal match

Signed-off-by: gaoyi <ymuemc@163.com>
(cherry picked from commit 1e67a9c2cd6065b850d2fd5e376d8b9bff63bdbc)
src/udev/udev-rules.c