Project

General

Profile

Actions

Support Request #7168

closed

EBPRODUCTSUPPORT-3696 adtf_file_library (v0.4.1 and below) corrupted files

Added by hidden almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Customer:
ELEKTROBIT
Department:
SUPPORT
Requester's Priority:
Normal
Support Level:
2nd Level
Resolution:
Product Issue Opened
Platform:
Windows 7 64bit
Topic:
FileLibrary::Reader
FAQ Links:

Description

Support Anfrage:

Hallo,

wir haben noch ein Problem mit der ADTF File library 0.4.1 und auch abwärts.

Bei der Erzeugung des adtf_file::Reader mit einer beschädigten Datei stürzt die ADTF File library einfach ab. Es gibt kein Exceptionmechanismus um den Fehler zu behandeln.

Das kann man einfach mit dem fileaccess example Programm reproduzieren.

In dem angehängten zip file findet ihr ein Beispielprogramm und das File:
src/libraries/ifhd_file/src/indexreadtable_v201_v301.cpp

Zeile 126: extension_info declaration als nullptr
Z. 137 und 146: findExtension kann extension_info nicht setzen => immer noch nullptr
Z. 149: extension_info->data_size Absturz eindeutig

Könnt ihr euch das auch mal anschauen?

Best regards,
Anja Winkler
EB Assist ADTF Support-Team

Lösung:

Produktticket CDIFHD-62 wurde erstellt.


Files

corrupted.7z (10.7 MB) corrupted.7z hidden, 2019-05-13 11:15
Actions

Also available in: Atom PDF