Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
628478f9
Commit
628478f9
authored
May 04, 2015
by
Mike Hibler
Browse files
Fix nasty off by one error.
parent
98fc9f60
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/os/imagezip/imageundelta.c
View file @
628478f9
...
...
@@ -415,7 +415,7 @@ applydelta(struct ndz_rangemap *bmap, struct ndz_range *brange, void *arg)
#endif
/* base range */
if
(
baddr
<
daddr
)
{
if
(
daddr
<
beaddr
)
{
if
(
daddr
<
=
beaddr
)
{
if
(
addmmrange
(
mmap
,
baddr
,
daddr
-
1
,
1
,
(
uintptr_t
)
brange
->
data
))
goto
fail
;
...
...
Write
Preview
Supports
Markdown
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