cobc.c(reflow_replace_*_format_text): Changed to malloc token based on newline length instead of hardcoded.
I just committed a fix for this. On 04/17/2018 02:46 PM, Simon Sobisch wrote: Priority: 5 - default --> 4 Comment: Test code (with current expected failure) commited as part of [r2547] https://sourceforge.net/p/open-cobol/code/2547/. The function to fix is |print_program_code| in cobc/cobc.c. [bugs:#515] https://sourceforge.net/p/open-cobol/bugs/515/ listing with huge REPLACE values will crash cobc Status: accepted Group: GC 3.0 Labels: listing SIGSEGV Created: Tue Apr 17, 2018 08:42 PM UTC by Simon...
Fixes for bug #515.
Added listing test case for the report writer.
BUG #494. Fixed scanning of tokens with embedded quotes, eg. 'yyy-'hello
Added CALL cross reference support.
Fixed multiple line output after replacement text substitution.
Fix order.
get_next_token(): Keep string as a single token.
Added "Too many errors" message to listing.
Added code to generate listing when max error count exceeded (compiler abort).
Added code to close and open append the listing...
Added Error/Warning summary to listings.
Changed symbol listing indentation and added re...
Restored copy_tail functionality. The copy book...
Fixed listings test for internal cross reference
Free replace text. Realloc replace text instead...
Changes to support 5 digit variable size and cr...
Added internal cross reference support.
Added 88 values to printed symbol listing.
Revert struct list_files pointer to NULL changes.
-t/-T listing file empty in edge cases
Fixed with updates r1199 and r1201
Fixed ppcopy() extra line problem.
Scan for "#line " and set line number for pre-p...
-t/-T listing file SIGSEGVs if a block with more than 32 continuation/debug/comment lines is used
This was fixed some time ago. Closing.
Bug 291: Added header/trailer to file not found...
Changed to allow for 9 character version field ...
cobc.h: Moved CB_LIST_PICSIZE here and increase...
Added --no_symbols option.
RECORD KEY in SELECT does not support FD in name.
Added some sequence numbers to a couple of exam...
cobc.c: print_fixed_line() fixed SORCEFORMAT VA...
Added a COPY to listing example.
Added a listing example.
Changed hardcoded listing version to a template.
Changed OCCURS <minimum> TO <maximum> to print_...
Added Symbols test with OCCURS
Added OCCURS <minimum> TO <maximum> to print_fi...
Rearranged pline allocation and added some chec...
Changed the pline array to an array of pointers...
Redo listings when copybooks are missing. Chang...
-t/-T listing file empty in edge cases
Fixed in r1034.
Fixes to put file not found into the listing fi...
Changes to change fixed sized character arrays ...
Listing test "symbols" fails on 32bit
Fixed in r1007
-T | -t not listing group content of LS or SS
I've not gotten any further feedback on this issue. So, I'm going to close it. See...
Fixes for 32/64 bit pointer listing test. Pictu...
All: I think the easiest thing for this is to remove the pointers from this test...
OK, I've changed the code to print the type as POINTER, not ALPHANUMERIC, and no...
Added ChangeLog entry for SCREEN and LINKAGE se...
Added function support in print_program_trailer...
Added LINKAGE and SCREEN symbol listing support...
Fixed mystery edits that broke FILE and FILLER ...
Added LISTING [ON|OFF] support.
Initial source listing checkin.
Added symbol listing checks.
Fixes in cobc.c for deferred listings and >>PAG...
Changed per Simon to use AT_DATA in the tests. ...
Fixed typo
Fixed some of the listing functions and added t...
Expanded listing line number to 5 digits. Remov...
Initial compiler listing code.