Recent changes (master)
Jens Axboe <[email protected]> Wed, 24 Sep 2025 06:00:01 -0600 (MDT)
| Newsgroups | org.kernel.vger.fio |
|---|---|
| Message-ID | <[email protected]> |
The following changes since commit f2c1d8f9d0c80d9e882a74c1e74fba7dfe1cd9f1:
Merge branch 'sprandom-log-fix' of https://github.com/tomas-winkler-sndk/fio (2025-09-18 11:42:56 -0400)
are available in the Git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to 6a39dfaffdb8a6c2080eec0dc7fb1ee532d54025:
options: check for NULL input string and fail (2025-09-23 11:50:46 -0600)
----------------------------------------------------------------
Jens Axboe (1):
options: check for NULL input string and fail
options.c | 3 +++
1 file changed, 3 insertions(+)
---
Diff of recent changes:
diff --git a/options.c b/options.c
index 337a3a52..77b42cdb 100644
--- a/options.c
+++ b/options.c
@@ -1616,6 +1616,9 @@ static int str_buffer_pattern_cb(void *data, const char *input)
struct thread_data *td = cb_data_to_td(data);
int ret;
+ if (!input)
+ return 1;
+
/* FIXME: for now buffer pattern does not support formats */
ret = parse_and_fill_pattern_alloc(input, strlen(input),
&td->o.buffer_pattern, NULL, NULL, NULL);