bugOpenEXR - Bugs: bug #30424, ImfInputFile invalid iterator

 
 

bug #30424: ImfInputFile invalid iterator

Submitter:  Edgar Velazquez <evelazquez>
Submitted:  Mon 12 Jul 2010 06:31:04 PM UTC
   
 
Category:  IlmImf Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 12 Jul 2010 06:31:04 PM UTC, original submission:  

Apparently there is a typo in ImfInputFile which generates an invalid iterator runtime error on MSVC.

Current code at IlmImf/ImfInputFile.cpp, around line 433 reads:

         FrameBuffer::ConstIterator j = frameBuffer.begin();

        while (i != oldFrameBuffer.end() && j != oldFrameBuffer.end())


I think the condition should actually read:

        while (i != oldFrameBuffer.end() && j != frameBuffer.end())


A patch is attached.

Edgar Velazquez <evelazquez>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by evelazquez (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-07-12 evelazquez Attached File- Added ImfInputFile_iterator.diff, #20948

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code