Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for segault in check_argument_conformance (extracted from #109) #183

Open
wants to merge 4 commits into
base: gcos4gnucobol-3.x
Choose a base branch
from

Conversation

ddeclerck
Copy link
Contributor

Extracted from #109 . Needs a testcase (@lefessan do you remember how to trigger this bug ?)

chaat and others added 4 commits September 23, 2024 19:00
libcob/screenio.c: In preparation for Multiple Window support added static WINDOW pointer "mywin", all curses functions which either implicitly or explicitly referenced the stdscr WINDOW pointer were changed to use the window specific functions using mywin except the getch function remains unchanged. The wgetch function caused the mouse not to be recognized.
…ic in MOVE or SET

cobc:
* typeck.c (cb_tree_is_numeric_ref_or_field, cb_tree_list_has_numeric_ref_or_field): new helper functions to check whether a given item is of category numeric (edited or not)
* typeck.c (cb_emit_incompat_data_checks): use new helper function
* typeck.c (cb_emit_move, cb_emit_set_to): do not check for incompatible data if no receiver field is of category numeric or numeric edited
@ddeclerck ddeclerck changed the title Fix for segault in check_argument_conformance Fix for segault in check_argument_conformance (extracted from #109) Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant