Re: Buffer overflow in name_to_tcb
[email protected] (Joerg Schilling) Wed, 15 Jun 2011 16:01:51 +0200
| Newsgroups | gmane.comp.archivers.star.user |
|---|---|
| Message-ID | <4df8bb4f.G8XnqAEp/XNyHK8u%[email protected]> |
[email protected] (Joerg Schilling) wrote: > There is a trick to make over-picky compilers quiet...... > > change strcpy(ptb->dbuf.t_name, name); to: > > strcpy(ptb->ndbuf.t_name, name); > > and try again..... > > I expect that your compiler will detect more false buffer overflows, so y= ou = > would need to continue checking. Did you get more "warnings" after applying this change? J=F6rg -- = EMail:[email protected] (home) J=F6rg Schilling D-13353 Be= rlin [email protected] (uni) = [email protected] (work) Blog: http://schily.blogs= pot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily