User Activity

  • Posted a comment on discussion General Discussion on pg_statsinfo

    Hi While reading the source code, I found that the argument of execl() and execlp() is not specified properly. According to "man execl", the last argument execl() or execlp() should be "(char )NULL". However, "NULL" is specified instead of "(char )NULL" in the source code: - agent/lib/port.c: execl("/bin/sh", "sh", "-c", cmd, NULL) - agent/bin/maintenance.c: execlp("/bin/sh", "sh", "-c", command, NULL) https://man7.org/linux/man-pages/man3/exec.3.html Specifying "NULL" seems harmless on many environments,...

View All

Personal Data

Username:
iderihatakeshi
Joined:
2021-10-13 23:34:27

Projects

  • No projects to display.

Personal Tools