commit | fe202fe95564023223ce1910c9e352f391abb1d5 | [log] [tgz] |
---|---|---|
author | Christophe Ricard <christophe.ricard@gmail.com> | Fri Aug 14 22:33:40 2015 +0200 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Mon Aug 17 01:36:17 2015 +0200 |
tree | 5ce126dcf515afe51b073be33cc450e360c25410 | |
parent | 94b85938ad21944afeff71d1cca68b094905e1b9 [diff] |
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>