Search found 1 match

by bunnie
Fri Apr 01, 2016 12:19 pm
Forum: Kinetis Support
Topic: Use-after-clear bug in adc_lld.c
Replies: 1
Views: 3616

Use-after-clear bug in adc_lld.c

Hi, I found a use-after-clear bug in adc_lld.c for the Kinetis branch. Basically, in the adc ISR code, _adc_isr_full_code() is called and then ADCD1.grpp->circular is referenced. However, adc_isr_full_code() will set ADCD1.grpp to NULL at the end of a conversion, causing the pointer dereference to y...

Go to advanced search