Re: Re: Tracker URL working ;)
"Olaf van der Spek" <[email protected]>
| Newsgroups | gmane.network.bit-torrent.general |
|---|---|
| Message-ID | <001901c4d540$dcded1f0$0100a8c0@hwima> |
> --- In [email protected], "Olaf van der Spek" <OvdSpek@L...> > wrote: >> > --- In [email protected], Mike Ravkine <krypt@m...> > wrote: >> >> skybuckflying wrote: > >> > Anyway programming is never trivial... make one little mistake >> > somewhere and the one billionth buffer overrun is born =D >> >> If that's true then you're using the wrong programming style. > > Oh that's interesting. > > I am always willing to learn =D > > Would you be so kind and share your wisedom about preventing buffer > overruns ? Do not use raw pointers to variable size buffers. Instead, write a class that encapsulates the buffer and it's size and use that class for any write operation to the buffer. That way, you only have to make sure the class is safe, which is much easier than making sure your entire application is safe. > I am sure millions of programmers are hanging on your lips lol. ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/dkFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/BitTorrent/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/