-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch should fix koreader/koreader#274 and crashes reported at koreader/koreader#288 1. The shifted x coordinates bug(koreader/koreader#274) is caused by non-integer x, y or w, h parameters passed to paintRect. It's fixed in checkBounds method of blitbuffer. 2. The landscape crash reported at koreader/koreader/#288 is a historied bug in the Lua-C-API of blitbuffer. The paintRoundedCorner sometimes write over the boundery of blitbuffer and corrupts the heap. Now this should be fixed in the FII module since the setPixel method checks very carefully on each pixel write.
- Loading branch information
Showing
3 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters