core: command argument can be longer than PATH_MAX
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 5 Apr 2022 12:47:46 +0000 (21:47 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 5 Apr 2022 15:39:06 +0000 (00:39 +0900)
commit58dd4999dcc81a0ed92fbd78bce3592c3e3afe9e
tree12aa8df2094d668a56d34a0b73194c61fedaeee3
parentc0da575a0e94e7ecae7f5f0c72dea0be853af352
core: command argument can be longer than PATH_MAX

Fixes a bug introduced by 065364920281e1cf59cab989e17aff21790505c4.

Fixes #22957.
src/core/load-fragment.c
src/test/test-load-fragment.c