Uwe Hermann <uwe@hermann-uwe.de> One of them is fixing a few compiler warnings (see attached patch) and
likely also one (non-cosmetic) bug (the 'id_buff' change, which seems to be a buffer overflow). git-svn-id: svn://svn.berlios.de/openocd/trunk@1293 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -375,7 +375,7 @@ int nand_read_status(struct nand_device_s *device, u8 *status)
|
||||
int nand_probe(struct nand_device_s *device)
|
||||
{
|
||||
u8 manufacturer_id, device_id;
|
||||
u8 id_buff[5];
|
||||
u8 id_buff[6];
|
||||
int retval;
|
||||
int i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user