Opened 15 years ago

Closed 15 years ago

#1258 closed defect (fixed)

AGG / GD crash when DrawScreenRaster is called with undefined image

Reported by: waltweltonlair Owned by: waltweltonlair
Priority: low Milestone: 2.3
Component: Rendering Service Version: 2.2.0
Severity: trivial Keywords:
Cc: External ID:

Description

It's possible for DrawScreenRaster to be called with an unknown image type. In this case AGG and GD should ignore the call. AGG would crash because it would later try to create a renderer with negative width and height. GDRenderer also needs a few additional safety checks.

Change History (2)

comment:1 by waltweltonlair, 15 years ago

Status: newassigned

comment:2 by waltweltonlair, 15 years ago

Resolution: fixed
Status: assignedclosed

Fixed in trunk with r4571.

Note: See TracTickets for help on using tickets.