Hi Stanislaw, On Sun, Feb 24, 2019 at 10:23 AM Stanislaw Gruszka <sgrus...@redhat.com> wrote: > > Fix crash due to passing invalid r2x00dev->eeprom_file pointer to > release_firmware(). Since we copy eeprom data with EEPROM_SIZE > in rt2800_read_eeprom() we can use eeprom_file->size as marker > if the file was crated by request_firmware(). > > Cc: Felix Fietkau <n...@nbd.name>, > Cc: Daniel Golle <dan...@makrotopia.org> > Signed-off-by: Stanislaw Gruszka <sgrus...@redhat.com>
Thanks for the patch. I submitted a patch doing something similar some days ago, but your fix is much nicer. FWIW: Acked-by: Kristian Evensen <kristian.even...@gmail.com> BR, Kristian _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel