2024-05-03 19:37:37 +02:00
|
|
|
---
|
2024-10-01 08:51:58 +02:00
|
|
|
src/pwdx.c | 1 +
|
2024-05-03 19:37:37 +02:00
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
2024-10-01 08:51:58 +02:00
|
|
|
--- src/pwdx.c
|
|
|
|
+++ src/pwdx.c 2016-07-11 13:17:16.154313659 +0000
|
|
|
|
@@ -113,6 +113,7 @@ int main(int argc, char *argv[])
|
2024-05-03 19:37:37 +02:00
|
|
|
buflen = 10 + strlen(argv[i]) + 1;
|
|
|
|
buf = xmalloc(buflen);
|
|
|
|
|
|
|
|
+ errno = 0;
|
|
|
|
if (check_pid_argument(argv[i]))
|
|
|
|
xerrx(EXIT_FAILURE, _("invalid process id: %s"),
|
|
|
|
argv[i]);
|