Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

cvLoadImage causes buffer overflow in Win x64

$
0
0
Hi, I'm using the follwong code in my c++ project: IplImage *LoadedImg = cvLoadImage(FileName, CV_LOAD_IMAGE_COLOR); where FileName can be .bmp, .png, .tiff, .... it works perfectly fine when I compile in Win32, Linux x86_x64 or Linux ia32. for Windows x64 only, LoadedImg ->imageData points to a non-accessible memory, and when I try later to access it I get "access violation" exception. I upgraded to the latest popenCV version (3.0), didn't help. Thanks

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>