[libGD] #92 [Comment added] imagearc/imagefilledarc DoS fix problem

[email protected] (libGD) Tue, 12 Jun 2007 08:40:52 +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 - Claes MÃ¥nsson (cj)

----------
Thanks! I think there's a little problem with your fix, though. Here's a situation that can occur when you're drawing a pie chart:

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

Here, the 270, 270 really means "draw nothing", so s == e would make it do the wrong thing, since that would be interpreted as wanting to draw 260 degress.
----------

More information can be found at the following URL:
http://bugs.libgd.org/?do=details&task_id=92#comment286

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.