mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 15:08:21 +00:00
framebuffer: support another edge case
This commit is contained in:
@@ -20,6 +20,7 @@ static int devchecks(int fb, size_t* count, size_t offset){
|
|||||||
|
|
||||||
if(offset >= end){
|
if(offset >= end){
|
||||||
*count = 0;
|
*count = 0;
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(*count + offset > end)
|
if(*count + offset > end)
|
||||||
|
|||||||
Reference in New Issue
Block a user