Commit 0911d770 authored by Simon Ruderich's avatar Simon Ruderich
Browse files

slsm: fix invalid krealloc parameter

Thanks afl.
parent a802f9aa
......@@ -206,7 +206,7 @@ int slsm_str_append(struct slsm_str *buf, const char *fmt, ...) {
if (new_size > (ssize_t)new_size)
return -EFBIG;
new_buf = krealloc(&buf->buf, new_size, GFP_KERNEL);
new_buf = krealloc(buf->buf, new_size, GFP_KERNEL);
if (!new_buf)
return -ENOMEM;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment