Ticket #181 (closed defect: fixed)

Opened 19 months ago

Last modified 19 months ago

incorrect limit check in ImageData::setRow()

Reported by: jburgess777 Owned by: artem
Priority: normal Milestone: 0.6.0
Component: Core Library Version: SVN Trunk
Severity: Normal Keywords:
Cc: Patch Needs Improvement: no
Needs Docmentation: no Has Patch?: no
Design Decision Needed: no

Description

The size parameter appear to be the number of pixels, not the number of bytes.

Attachments

mapnik-image-data-setrow-size.patch (0.6 kB) - added by jburgess777 19 months ago.
Check size against pixel width, not bytes

Change History

Changed 19 months ago by jburgess777

Check size against pixel width, not bytes

Changed 19 months ago by artem

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.