Please sign in to comment.
nfc: Ensure presence of required attributes in the deactivate_target …
…handler 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 <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com>
- Loading branch information...