rob@cad4.lbl.gov (Robert J. McNamara) writes:It doesn't make a difference. The gets function is broken as designed (as somebody recently put it in comp.std.c). The message you got is (I believe) only a warning: the programs works but you get noted that it can be unreliable. -- Lars.Wirzenius@helsinki.fi (finger wirzeniu@klaava.helsinki.fi) MS-DOS, you can't live with it, you can live without it. PS. Oh, you wanted to know _why_ gets is unreliable? That's because it cannot know how big an array it is reading into, and can therefore easily go past its end if the input line is too long. (An example of what using gets can mean is the Internet Worm.) Further discussion about this to mail, please, since it has absolutely nothing to do with Linux and while it would belong to comp.lang.c, this question has been discussed to death several times already.
| Alan Cox | [PATCH 01/76] drivers/serial/crisv10.c: add missing put_tty_driver |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Adrian Bunk | Re: Linux 2.6.21 |
| David Miller | Slow DOWN, please!!! |
git: | |
| Jon Smirl | Re: VCS comparison table |
| Junio C Hamano | [RFD] On deprecating "git-foo" for builtins |
| Eric Wong | [PATCH] archimport improvements |
| Johannes Schindelin | Re: [FAQ?] Rationale for git's way to manage the index |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Leon Dippenaar | New tcp stack attack |
| Henning Brauer | Re: About Xen: maybe a reiterative question but .. |
| David Miller | [GIT]: Networking |
| Mark Lord | Re: 2.6.25-rc8: FTP transfer errors |
| Alexey Dobriyan | [PATCH 01/33] nf_conntrack_sip: de-static helper pointers |
| Evgeniy Polyakov | Re: [BUG] New Kernel Bugs |
