From: Young Xiao <92siuyang@xxxxxxxxx> Date: Fri, 14 Jun 2019 15:13:02 +0800 > Check that the NFC_ATTR_TARGET_INDEX attributes (in addition to > NFC_ATTR_DEVICE_INDEX) are provided by the netlink client prior to > accessing them. This prevents potential unhandled NULL pointer dereference > exceptions which can be triggered by malicious user-mode programs, > if they omit one or both of these attributes. > > Signed-off-by: Young Xiao <92siuyang@xxxxxxxxx> Applied and queued up for -stable, thanks.