Hi, havn't tested the patch, but you should test if malloc was succesfull. (my_eeprom_size != NULL)
Cheers, Matthias Am Thu, 08 Dec 2011 20:22:05 +0100 schrieb Andreas Helmcke <[email protected]>: > Hello, > > I hope this is the proper way to submit patches to libftdi. > > ftdi_eeprom is missing an initialisation of buffer eeprom_buf when using > the mode flash_eeprom. > > I have attached a patch to fix this. > > Greetings > Andreas Helmcke > -- --------------------------------------------------------------------- Dipl.-Phys. Matthias Janke Physikalisches Institut der Universität Heidelberg Philosophenweg 12 69120 Heidelberg Deutschland Tel: +49 (6221) 54 93 72 Fax: +49 (6221) 54 94 52 E-Mail: [email protected] Büro: Albert-Überle-Straße 3-5 Zi. 158, Ostflügel, 1.OG --------------------------------------------------------------------- -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
