microsoft / NFC-Class-Extension-Driver

The NFC Class Extension driver implements all NFC device driver interfaces and standard NFC protocols and formats based on the NFC Forum NFC Controller Interface (NCI) Technical Specification
Other
57 stars 27 forks source link

NfcCx crash in P2P mode with RF_DISCOVER_NTF #10

Closed cricard13 closed 7 years ago

cricard13 commented 7 years ago

During the NFC Forum Plugfest 2017 in Fremont we found evidence of a NfcCx crash (NULL pointer access). This is happening in the following conditions at least one RF_DISCOVER_NTF with at least one "RF Technology and Mode" in Poll coming in position 1 or greater.

I have been able to validate a fix but not able to run the HLK again. Will share a patch for early review.

icherniukh commented 7 years ago

fixed in 59cf58b062e4e06d37d9c1cc49ed8218fdda072a