cURL / Mailing Lists / curl-library / Single Mail


Re: bitmap buffer (c++)

From: Jeff Pohlmeyer <>
Date: Thu, 13 Nov 2008 12:18:57 -0600

On Nov 13, 2008, <> wrote:

> memcpy(temp->imageData,buffer,temp->imageSize);<----HERE THERE IS A CRASH

 I am not familiar with cvCreateImage() but it sure looks like
 you need some check that memcpy does not read past the end of
 the buffer, or even if the buffer contains any data at all.

Also, your friends are:

 - Jeff
Received on 2008-11-13