mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 07:37:25 -04:00
but don't expect a proper ASCII string to exist right here right now, don't use strcmp(3) which checks for a NUL. As we're still building the argument up, the next character might be garbage. It would probably be just as safe to temporarily write a NUL there, but if we've reached the end of argument memory that might not be the best idea, I think. It's unclear. Doing it this way seems to meet the most with the original intent. PR: 85696 Prodded by: stefanf |
||
|---|---|---|
| .. | ||
| Makefile | ||
| pathnames.h | ||
| strnsubst.c | ||
| xargs.1 | ||
| xargs.c | ||