Skip to content
Commit 8999e04f authored by Latchesar Ionkov's avatar Latchesar Ionkov Committed by Eric Van Hensbergen
Browse files

9p: use copy of the options value instead of original



v9fs_parse_options function uses strsep which modifies the value of the
v9ses->options field. That modified value is later passed to the function
that creates the transport potentially making the transport creation
function to fail.

This patch creates a copy of v9ses->option field that v9fs_parse_options
function uses instead of the original value.

Signed-off-by: default avatarLatchesar Ionkov <lucho@ionkov.net>
Acked-by: default avatarEric Van Hensbergen <ericvh@gmail.com>
parent dda6b022
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