-
Notifications
You must be signed in to change notification settings - Fork 431
Closed as not planned
Closed as not planned
Copy link
Labels
ABCABC Logic Optimization & Technology Mapping ToolABC Logic Optimization & Technology Mapping ToolStalebugIncorrect behaviourIncorrect behaviour
Description
Originally reported on Google Code with ID 65
What steps will reproduce the problem?
1. Put genlib library in a read-only directory
2. Execute "read-library <genlib_library>
3. Crash.
Please provide any additional information below.
Simple error: abc_with_bb_support/src/map/mapper/mapperLib.c
line 184:
pFile = fopen( FileNameGenlib, "w" );
is followed by
Mio_WriteLibrary( pFile, pLib, 0 );
without any check for pFile == NULL. pFile == NULL should generate an error message
and fail gracefully instead of crashing. Ideally, in the case that the super library
can't be written, abc should make an attempt to change the super library path to the
current working directory, or maybe that should be the default, as there is no particular
reason for the temporary auto-generated super library to be in the same location as
the original genlib library.
Reported by rtedwards8 on 2013-07-24 15:24:50
Metadata
Metadata
Assignees
Labels
ABCABC Logic Optimization & Technology Mapping ToolABC Logic Optimization & Technology Mapping ToolStalebugIncorrect behaviourIncorrect behaviour