mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
cgi: Ensure correct type of NULL pointer to variadic execl.
This commit is contained in:
parent
2828d587b2
commit
4c636d74f1
@ -368,7 +368,7 @@ execute_cgi(struct connection *conn)
|
||||
close_all_non_term_fd();
|
||||
|
||||
last_slash[-1] = 0; set_cwd(script); last_slash[-1] = '/';
|
||||
if (execl(script, script, NULL)) {
|
||||
if (execl(script, script, (char *) NULL)) {
|
||||
_exit(3);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user