libftdi Archives

Subject: Re: Patch: ftdi_eeprom flash_raw without reading eeprom

From: Matthias Janke <matthias.janke@xxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 12 Dec 2011 11:46:32 +0100
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 <ahelmcke@xxxxxxxxxxxx>:

> 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: matthias.janke@xxxxxxxxxxxxxxxxxxxxxxx

 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 libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread