diff options
author | Matt Johnston <matt@ucc.asn.au> | 2020-11-17 19:28:11 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2020-11-17 19:28:11 +0800 |
commit | 220ba993a28aaed1f69fea92e5484da119904036 (patch) | |
tree | 5fc265fad6ceb575701a732f8ff1f8eb9cc8b26f | |
parent | 3c88d6536a61776e65b4d8f05e985cb0a65d9d1d (diff) |
fuzzing - Set postauth user to root since that's what it runs as
-rw-r--r-- | fuzz/fuzz-common.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fuzz/fuzz-common.c b/fuzz/fuzz-common.c index df704d9..4a9634a 100644 --- a/fuzz/fuzz-common.c +++ b/fuzz/fuzz-common.c @@ -262,8 +262,7 @@ int fuzz_run_server(const uint8_t *Data, size_t Size, int skip_kexmaths, int aut if (authdone) { ses.authstate.authdone = 1; - char *me = fuzz_getpwuid(getuid())->pw_name; - fill_passwd(me); + fill_passwd("root"); } m_malloc_set_epoch(1); |