mirror of
http://galexander.org/git/simplesshd.git
synced 2025-02-28 15:02:01 +00:00
fix bug in dropbear - returning address of local variable!!
This commit is contained in:
parent
f93a643e4c
commit
087adfa668
@ -235,7 +235,7 @@ void setusershell() {
|
||||
|
||||
static char **initshells() {
|
||||
/* don't touch this list. */
|
||||
const char *okshells[] = { "/bin/sh", "/bin/csh", NULL };
|
||||
static const char *okshells[] = { "/bin/sh", "/bin/csh", NULL };
|
||||
register char **sp, *cp;
|
||||
register FILE *fp;
|
||||
struct stat statb;
|
||||
|
Loading…
Reference in New Issue
Block a user