nfctype3: Fix possible NULL pointer dereference in nfctype3_read
authorSzymon Janc <szymon.janc@tieto.com>
Tue, 7 Aug 2012 12:22:31 +0000 (14:22 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 14 Aug 2012 15:17:15 +0000 (17:17 +0200)
commitaf07f734c7b3355a4a15e3e8b7276dd3f2051c87
treef5c394d4c6b59887c0455a1435f0b4c04d7e4f6a
parentf9126e93395a8306b8b98a035697b5bb40946a71
nfctype3: Fix possible NULL pointer dereference in nfctype3_read

Check if memory allocation succeed before dereferencing pointer.
plugins/nfctype3.c