You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
disk.c: fix integer underflow in disk_part_read/disk_part_write
fix integer underflow when off is past part->end inside
disk_part_read/disk_part_write.
This check:
if ((p->end - (p->start + off)) < sz) {
len = p->end - (p->start + off);
will underflow into a very big number being all values unisgned integer.
0 commit comments