This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
possible bug in compactflash device
- From: "Daniel Schmidt" <Daniel dot Schmidt3 at gmx dot de>
- To: ecos-devel at sources dot redhat dot com
- Date: Tue, 18 May 2004 13:02:47 +0200 (MEST)
- Subject: possible bug in compactflash device
hello all,
possible stack-overwrite in:
/devs/disk/v85x/edb_v850/current/source/v85x_edb_v850_disk.c
read_data:
always reads 512 byte=0x200 bytes in buf
cf_disk_init:
call read_data with len=sizeof(cf_ata_identify_data_t)=0x8C bytes
an a buffer with only 0x8c bytes
so the stack will be destroyed
but I think the problem is in cf_ata.h
the last line auf cf_ata_identify_data_t should not be a comment
bye daniel
--
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info