summaryrefslogtreecommitdiff
path: root/sys/src/libdraw/badrect.c
AgeCommit message (Collapse)Author
2013-06-16draw: add badrect() function to reject zero, negative size or orverly huge ↵cinap_lenrek
rectangles not checking the rectangle dimensions causes integer overflows and memory corruption. adding a new badrect() function that checks for these cases.