Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
scorpio
system_vold
Commits
33b6de4b
Commit
33b6de4b
authored
10 years ago
by
Elliott Hughes
Committed by
Android Git Automerger
10 years ago
Browse files
Options
Download
Plain Diff
am
d55d8dac
: Merge "prevent ioctl_init() to write outside buffer"
* commit '
d55d8dac
': prevent ioctl_init() to write outside buffer
parents
d773fc11
d55d8dac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cryptfs.c
cryptfs.c
+1
-1
No files found.
cryptfs.c
View file @
33b6de4b
...
...
@@ -333,7 +333,7 @@ static void ioctl_init(struct dm_ioctl *io, size_t dataSize, const char *name, u
io
->
version
[
2
]
=
0
;
io
->
flags
=
flags
;
if
(
name
)
{
str
n
cpy
(
io
->
name
,
name
,
sizeof
(
io
->
name
));
str
l
cpy
(
io
->
name
,
name
,
sizeof
(
io
->
name
));
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment