Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » CtrlCore_WinMetaFile patch (SVN r2960)
CtrlCore_WinMetaFile patch (SVN r2960) [message #30504] Wed, 05 January 2011 15:35 Go to next message
mr_ped is currently offline  mr_ped
Messages: 825
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
.WinMetaFile: more robust code

Didn't find ENHMETAHEADER easily, so I rather added the additional check to prevent buffer overrun in case sizeof(ENHMETAHEADER) is less then 22.

Also length parameter changed to usigned and fix for signed/unsigned GCC warnings.
Re: CtrlCore_WinMetaFile patch (SVN r2960) [message #30858 is a reply to message #30504] Tue, 25 January 2011 13:04 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Applied. Sorry I have missed this one before...
Previous Topic: Problem in StreamRasterEncoder
Next Topic: Look for RasterPlayer Ctrl
Goto Forum:
  


Current Time: Fri Apr 19 14:33:02 CEST 2024

Total time taken to generate the page: 0.03536 seconds