mifare: Fix possible NULL pointer dereference in reading loop
authorDorota Moskal <dorota.moskal@tieto.com>
Thu, 27 Sep 2012 11:22:12 +0000 (13:22 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 9 Oct 2012 18:27:11 +0000 (20:27 +0200)
commitb747b92e02440c90757a400b1ff4aaaadce4f58b
tree09b4882c37c5af4a0b5f63a99a5b44fa3b46c97e
parent2d33b788c5f7d82a6ad1a3226379c57ccd1fd644
mifare: Fix possible NULL pointer dereference in reading loop

After reading first sector, reading loop should check if sector list
is NULL in case only one valid NFC sector is present.
plugins/mifare.c