mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
Avoid off_t -> integer overflow when sorting the locksector addresses.
This commit is contained in:
parent
7715475960
commit
ddc6ffdccf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113466
@ -441,7 +441,7 @@ sorthelp(const void *a, const void *b)
|
||||
|
||||
oa = a;
|
||||
ob = b;
|
||||
return (*oa - *ob);
|
||||
return (*oa > *ob);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user