[libGD] #92 [Comment added] imagearc/imagefilledarc DoS fix problem
[email protected] (libGD) Tue, 12 Jun 2007 08:33:57 +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)
----------
> Consider a start angle of 270 and an end angle of 630. The intent is clearly to draw a full revolution of the arc from 12 to 12 o clock
Good catch, this is the second report about this issue. The other one was less obvious as the end angle was not equal to the start angle but simply larger than 360. I think your example should be fixed as it is clear a regression.
Adding this test after the sanitization process should fix (cannot test rihgt now but it should work):
<code>
... sanitized with % ... then:
if (s == e) {
s = 0; e = 360;
}
</code>
I will fix this regression before 2.0.35.
----------
More information can be found at the following URL:
http://bugs.libgd.org/?do=details&task_id=92#comment285
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.