Microsoft KB Archive/324490

= FIX: Corrupted GIF Images May Cause an Access Violation in OLE =

Article ID: 324490

Article Last Modified on 2/12/2007

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Service Pack 3
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Service Pack 3
 * Microsoft OLE 4.0

-



This article was previously published under Q324490



SYMPTOMS
If a program uses the OleLoadPicture application programming interface (API) when it loads a corrupted Graphics Interchange Format (GIF) image, you may receive an &quot;illegal operation&quot; error message. The exact symptoms in the program may vary depending on how the program was written. However, in most cases, the program closes. When you run the program under a debugger, you see that the failure occurs in Asycfilt.dll.

When you run the program in a debugger, the call stack appears as follows: asycfilt!CGIFFilter::InitCodeTable+0x59 asycfilt!CGIFFilter::DecompressImage+0x48 asycfilt!CGIFFilter::GetMore+0x2a9 asycfilt!CImageFilter::DoWork+0x2d OLEAUT32!_PictLoadSyncImage+0x1cc OLEAUT32!_PictLoadNewImage+0x1da OLEAUT32!_PictLoadPicture+0x32 OLEAUT32!OleLoadPictureEx+0x92 OLEAUT32!OleLoadPicture+0x24 OLEPRO32!_OleLoadPicture+0x1f Load_Picture_Sample!CImageView::Load_Picture_from_File+0x195 For information about how to get the latest debugger package and symbol files for Microsoft products, visit the following Microsoft Web site:

Microsoft Debugging Tools

http://www.microsoft.com/whdc/devtools/ddk/default.mspx

This problem also affects programs that were written in Microsoft Visual Basic and use the instrinsic Picture Box control or the LoadPicture function.



Service Pack Information
To resolve this problem, obtain the latest service pack for Microsoft Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

Hotfix Information
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Windows 2000 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

  Date          Version       Size      File name --  15-Jul-2002   2.40.4520.0   143,632   Ayscfilt.dll 15-Jul-2002  2.40.4520.0   626,960   Oleaut32.dll 15-Jul-2002  5.00.4520.0   164,112   Olepro32.dll



STATUS
Microsoft has confirmed that this is a problem in Microsoft Windows 2000. This problem was first corrected in Microsoft Windows 2000 Service Pack 4.



MORE INFORMATION
For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server Product

For additional information about how to install multiple hotfixes with only one restart, click the article number below to view the article in the Microsoft Knowledge Base:

296861 Use QChain.exe to Install Multiple Hotfixes with One Reboot

Keywords: kbbug kbfix kbwin2000presp3fix kbwin2000presp4fix kbqfe kbwin2ksp4fix kbhotfixserver KB324490

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.