This is the mail archive of the ecos-devel@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]