Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Sep 24, 2025

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

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:

options.c +3 -0
index 337a3a52..77b42cdb 100644
@@ -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);