The following changes since commit 1e8ec88fd5f3ab4b7bbd0119708d94fd64a4e7ad: Enable crc32c accelleration for arm64 on OSX (2023-01-25 08:01:30 -0700) are available in the Git repository at: git://git.kernel.dk/fio.git master for you to fetch changes up to c6cade164bc7e35e95ba88f816be4f44475e4e23: lib/pattern: Fix seg fault when calculating pattern length (2023-01-30 10:46:22 -0500) ---------------------------------------------------------------- Vincent Fu (1): lib/pattern: Fix seg fault when calculating pattern length lib/pattern.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- Diff of recent changes: diff --git a/lib/pattern.c b/lib/pattern.c index 9be29af6..e31d4734 100644 --- a/lib/pattern.c +++ b/lib/pattern.c @@ -386,7 +386,8 @@ static int parse_and_fill_pattern(const char *in, unsigned int in_len, assert(filled); assert(filled <= out_len); out_len -= filled; - out += filled; + if (out) + out += filled; total += filled; } while (in_len);