diff options
author | 2015-08-14 22:33:40 +0200 | |
---|---|---|
committer | 2015-08-17 01:36:17 +0200 | |
commit | fe202fe95564023223ce1910c9e352f391abb1d5 (patch) | |
tree | 5ce126dcf515afe51b073be33cc450e360c25410 /drivers/nfc/s3fwrn5/i2c.c | |
parent | nfc: st-nci: Remove pr_err in rcv_queue when ndlc header is unknown (diff) | |
download | linux-dev-fe202fe95564023223ce1910c9e352f391abb1d5.tar.xz linux-dev-fe202fe95564023223ce1910c9e352f391abb1d5.zip |
nfc: netlink: Add check on NFC_ATTR_VENDOR_DATA
NFC_ATTR_VENDOR_DATA is an optional vendor_cmd argument.
The current code was potentially using a non existing argument
leading to potential catastrophic results.
Cc: stable@vger.kernel.org
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/s3fwrn5/i2c.c')
0 files changed, 0 insertions, 0 deletions