DiscussionsIssue archiveOCCT:Data Exchange

Archived issue #0030888

Data Exchange, RWGltf_CafReader - fix misprint in condition while iterating binary glTF 2.0 chunks

Open CASCADEOCCT:Data Exchangeclosed2 public notes

Search issues

Description

The following line contains misprint leading to undefined behavior - aLen pointer should be unreferenced:
        if (int64_t(aFile.tellg()) + int64_t(sizeof(aChunkHeader2)) > int64_t(aLen))

Steps to reproduce

N/A

Public activity

2 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Sat Aug 10 00:16:05 2019 +0300

    0030888: Data Exchange, RWGltf_CafReader - fix misprint in condition while iterating binary glTF 2.0 chunks
02Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records