Displaying 1 result from an estimated 1 matches for "termenv".
1997 May 15
1
Vulnerability in Elm-ME+
...s are under /pub/Debian/sources on the same
server.
I have released the updated package to Debian''s master server, and should
show up in distributions shortly.
John Goerzen
--- elm-me+-2.4pl25ME+31.orig/src/curses.c
+++ elm-me+-2.4pl25ME+31/src/curses.c
@@ -131,7 +131,7 @@
if ((termenv = getenv("TERM")) == NULL) return(-1);
- if (strcpy(termname, termenv) == NULL)
+ if (strncpy(termname, termenv, sizeof(termname)) == NULL)
return(-1);
if ((err = tgetent(_terminal, termname)) != 1)