Mercurial > hg > xemacs-beta
comparison lib-src/ChangeLog @ 3556:2161ac78b41e
[xemacs-hg @ 2006-08-11 17:37:17 by james]
Prevent potential buffer overflows. Also enable use of shutdown() on linux.
<m37j1jez4n.fsf@jerrypc.cs.usu.edu>
| author | james |
|---|---|
| date | Fri, 11 Aug 2006 17:37:18 +0000 |
| parents | 9b466a04e78e |
| children | edbb1ff43fe0 |
comparison
equal
deleted
inserted
replaced
| 3555:db783273b399 | 3556:2161ac78b41e |
|---|---|
| 1 2006-08-08 Jerry James <james@xemacs.org> | |
| 2 | |
| 3 * gnuslib.c (disconnect_from_server): shutdown() has been fine on | |
| 4 Linux for a long time now; use it. Also, don't use length to | |
| 5 access the buffer unless it is positive, not just nonzero. | |
| 6 * gnuclient.c (filename_expand): Initialize the last array element | |
| 7 to get a valid C string in case of overflow. Use strncat to avoid | |
| 8 buffer overruns. | |
| 9 * gnuclient.c (main): Use strncpy to avoid buffer overruns. | |
| 10 | |
| 1 2006-07-21 Stephen J. Turnbull <stephen@xemacs.org> | 11 2006-07-21 Stephen J. Turnbull <stephen@xemacs.org> |
| 2 | 12 |
| 3 * etags.c: Xemacs -> XEmacs. | 13 * etags.c: Xemacs -> XEmacs. |
| 4 | 14 |
| 5 2006-07-19 Stephen J. Turnbull <stephen@xemacs.org> | 15 2006-07-19 Stephen J. Turnbull <stephen@xemacs.org> |
