mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 22:35:10 +00:00
Set program name in fuzzers so we get consisten warnings.
This commit is contained in:
@@ -38,6 +38,8 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
||||
size_t nwritten;
|
||||
int fd;
|
||||
|
||||
setprogname("fuzz_sudo_conf");
|
||||
|
||||
/* sudo_conf_read() uses a conf file path, not an open file. */
|
||||
fd = mkstemp(tempfile);
|
||||
if (fd == -1)
|
||||
|
Reference in New Issue
Block a user