mirror of
https://github.com/opnsense/src.git
synced 2026-02-12 15:24:40 -05:00
If the resulting argument is longer than MAXPATHLEN, realloc() was called to extend the space, but the new pointer was not correctly stored. Different from what OpenBSD has done, rewrite brace_subst() to calculate the necessary space first and realloc() at most once. As before, the e_len fields are not updated in case of a realloc. Therefore, a following long argument will do another realloc. PR: 201750 MFC after: 1 week |
||
|---|---|---|
| .. | ||
| extern.h | ||
| find.1 | ||
| find.c | ||
| find.h | ||
| function.c | ||
| getdate.y | ||
| ls.c | ||
| main.c | ||
| Makefile | ||
| Makefile.depend | ||
| misc.c | ||
| operator.c | ||
| option.c | ||