[libGD] #92 [Comment added] imagearc/imagefilledarc DoS fix problem
[email protected] (libGD) Tue, 12 Jun 2007 09:04:38 +0000
| Newsgroups | php.gd.bugs |
|---|---|
| Message-ID | <[email protected]> |
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#92 - imagearc/imagefilledarc DoS fix problem User who did this - Pierre Joye (Pierre) ---------- > Say you feed it with two values, one being a 0% slice, and another being a 100% slice. Imagearc would be fed: 0%: 270, 270 100%: 270, 630 The script should fix its logic, it seems wrong to play with these values like that :) But the regression is here and should be fixed: Let say if the input start-end: - 10 - 20: arc from 10 to 20 - 20 - 10: arc from 20 to 10 (through 0, large arc) - 0 - 360: full - 0 - 380: 0 -> 20 (overdrawn two times the last 20°? :) - 270 - 630: full (like 0 -> 360) - 270 - 270: nothing, equal before sanitization I think that covers all cases. I will try to produce a test case for each of them later tonight. Can you try it with your script with or without the fix? Thanks, ---------- More information can be found at the following URL: http://bugs.libgd.org/?do=details&task_id=92#comment287 You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.