Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 678871 Details for
Bug 895608
yadex source code contains 86 defects
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
yadex-1.7.0-23.fc19.err.txt
yadex-1.7.0-23.fc19.err.txt (text/plain), 216.51 KB, created by
Jaromír Cápík
on 2013-01-15 16:16:22 UTC
(
hide
)
Description:
yadex-1.7.0-23.fc19.err.txt
Filename:
MIME Type:
Creator:
Jaromír Cápík
Created:
2013-01-15 16:16:22 UTC
Size:
216.51 KB
patch
obsolete
>Error: CHAR_IO (CWE-394): >yadex-1.7.0/src/wadfile.h:232: char_io: Assigning the return value of "_IO_getc(_IO_FILE *)" to char "buf" truncates its value. > >Error: CHAR_IO (CWE-394): >yadex-1.7.0/src/wads2.cc:527: char_io: Assigning the return value of "getchar()" to char "key" truncates its value. > >Error: CHAR_IO (CWE-394): >yadex-1.7.0/src/wads2.cc:566: char_io: Assigning the return value of "getchar()" to char "key" truncates its value. > >Error: CHAR_IO (CWE-394): >yadex-1.7.0/src/wads2.cc:729: char_io: Assigning the return value of "getchar()" to char "key" truncates its value. > >Error: CHECKED_RETURN (CWE-252): >yadex-1.7.0/src/l_prop.cc:552: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/l_prop.cc:555: cond_false: Condition "DisplayMenuList(x0 + 84, y0, "Select group", ldtgroup, PrintLdtgroup(void *), &ldtgno) < 0", taking false branch >yadex-1.7.0/src/l_prop.cc:558: cond_false: Condition "al_lseek(ldtgroup, ldtgno, 0)", taking false branch >yadex-1.7.0/src/l_prop.cc:565: cond_true: Condition "ldtg == '\0'", taking true branch >yadex-1.7.0/src/l_prop.cc:570: cond_false: Condition "*number != -2147483648 /* -2147483647 - 1 */", taking false branch >yadex-1.7.0/src/l_prop.cc:572: goto: Jumping to label "again" >yadex-1.7.0/src/l_prop.cc:597: label: Reached label "again" >yadex-1.7.0/src/l_prop.cc:600: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/l_prop.cc:552: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/l_prop.cc:552: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/l_prop.cc:555: cond_false: Condition "DisplayMenuList(x0 + 84, y0, "Select group", ldtgroup, PrintLdtgroup(void *), &ldtgno) < 0", taking false branch >yadex-1.7.0/src/l_prop.cc:558: cond_false: Condition "al_lseek(ldtgroup, ldtgno, 0)", taking false branch >yadex-1.7.0/src/l_prop.cc:565: cond_false: Condition "ldtg == '\0'", taking false branch >yadex-1.7.0/src/l_prop.cc:573: if_end: End of if statement >yadex-1.7.0/src/l_prop.cc:578: cond_true: Condition "!al_leol(ldtdef)", taking true branch >yadex-1.7.0/src/l_prop.cc:579: cond_true: Condition "((ldtdef_t *)al_lptr(ldtdef))->ldtgroup == ldtg", taking true branch >yadex-1.7.0/src/l_prop.cc:582: check_return: Calling function "al_lwrite(al_llist_t *, void const *)" without checking return value (as is done elsewhere 8 out of 10 times). >yadex-1.7.0/src/game.cc:183: example_checked: "al_lwrite(ldtdef, &buf)" has its value checked in "al_lwrite(ldtdef, &buf)". >yadex-1.7.0/src/game.cc:194: example_checked: "al_lwrite(ldtgroup, &buf)" has its value checked in "al_lwrite(ldtgroup, &buf)". >yadex-1.7.0/src/game.cc:257: example_checked: "al_lwrite(stdef, &buf)" has its value checked in "al_lwrite(stdef, &buf)". >yadex-1.7.0/src/game.cc:306: example_checked: "al_lwrite(thingdef, &buf)" has its value checked in "al_lwrite(thingdef, &buf)". >yadex-1.7.0/src/game.cc:321: example_checked: "al_lwrite(thinggroup, &buf)" has its value checked in "al_lwrite(thinggroup, &buf)". >yadex-1.7.0/src/l_prop.cc:582: unchecked_value: No check of the return value of "al_lwrite(list, &ptr)". > >Error: CHECKED_RETURN (CWE-252): >yadex-1.7.0/src/t_prop.cc:382: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/t_prop.cc:385: cond_false: Condition "DisplayMenuList(x0 + 42, y0, "Select group", thinggroup, PrintThinggroup(void *), &tgno) < 0", taking false branch >yadex-1.7.0/src/t_prop.cc:388: cond_false: Condition "al_lseek(thinggroup, tgno, 0)", taking false branch >yadex-1.7.0/src/t_prop.cc:395: cond_true: Condition "tg == '\0'", taking true branch >yadex-1.7.0/src/t_prop.cc:400: cond_false: Condition "*number != -2147483648 /* -2147483647 - 1 */", taking false branch >yadex-1.7.0/src/t_prop.cc:402: goto: Jumping to label "again" >yadex-1.7.0/src/t_prop.cc:424: label: Reached label "again" >yadex-1.7.0/src/t_prop.cc:427: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/t_prop.cc:382: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/t_prop.cc:382: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/t_prop.cc:385: cond_false: Condition "DisplayMenuList(x0 + 42, y0, "Select group", thinggroup, PrintThinggroup(void *), &tgno) < 0", taking false branch >yadex-1.7.0/src/t_prop.cc:388: cond_false: Condition "al_lseek(thinggroup, tgno, 0)", taking false branch >yadex-1.7.0/src/t_prop.cc:395: cond_false: Condition "tg == '\0'", taking false branch >yadex-1.7.0/src/t_prop.cc:403: if_end: End of if statement >yadex-1.7.0/src/t_prop.cc:408: cond_true: Condition "!al_leol(thingdef)", taking true branch >yadex-1.7.0/src/t_prop.cc:409: cond_true: Condition "((thingdef_t *)al_lptr(thingdef))->thinggroup == tg", taking true branch >yadex-1.7.0/src/t_prop.cc:412: check_return: Calling function "al_lwrite(al_llist_t *, void const *)" without checking return value (as is done elsewhere 8 out of 10 times). >yadex-1.7.0/src/game.cc:183: example_checked: "al_lwrite(ldtdef, &buf)" has its value checked in "al_lwrite(ldtdef, &buf)". >yadex-1.7.0/src/game.cc:194: example_checked: "al_lwrite(ldtgroup, &buf)" has its value checked in "al_lwrite(ldtgroup, &buf)". >yadex-1.7.0/src/game.cc:257: example_checked: "al_lwrite(stdef, &buf)" has its value checked in "al_lwrite(stdef, &buf)". >yadex-1.7.0/src/game.cc:306: example_checked: "al_lwrite(thingdef, &buf)" has its value checked in "al_lwrite(thingdef, &buf)". >yadex-1.7.0/src/game.cc:321: example_checked: "al_lwrite(thinggroup, &buf)" has its value checked in "al_lwrite(thinggroup, &buf)". >yadex-1.7.0/src/t_prop.cc:412: unchecked_value: No check of the return value of "al_lwrite(list, &ptr)". > >Error: CHECKED_RETURN (CWE-252): >yadex-1.7.0/src/xref.cc:41: check_return: Calling function "scanf("%d", &sidedef_no)" without checking return value. This library function may fail and return an error code. >yadex-1.7.0/src/xref.cc:41: unchecked_value: No check of the return value of "scanf("%d", &sidedef_no)". > >Error: CHECKED_RETURN (CWE-252): >yadex-1.7.0/src/wads2.cc:517: cond_true: Condition "dir", taking true branch >yadex-1.7.0/src/wads2.cc:523: cond_true: Condition "file == stdout", taking true branch >yadex-1.7.0/src/wads2.cc:523: cond_true: Condition "lines++ > screen_lines - 4", taking true branch >yadex-1.7.0/src/wads2.cc:529: cond_true: Condition "key == 'Q'", taking true branch >yadex-1.7.0/src/wads2.cc:531: check_return: Calling function "getchar()" without checking return value. This library function may fail and return an error code. >yadex-1.7.0/src/wads2.cc:531: unchecked_value: No check of the return value of "getchar()". > >Error: CHECKED_RETURN (CWE-252): >yadex-1.7.0/src/wads2.cc:554: cond_true: Condition "n < wad->dirsize", taking true branch >yadex-1.7.0/src/wads2.cc:562: cond_true: Condition "file == stdout", taking true branch >yadex-1.7.0/src/wads2.cc:562: cond_true: Condition "lines++ > screen_lines - 4", taking true branch >yadex-1.7.0/src/wads2.cc:568: cond_true: Condition "key == 'Q'", taking true branch >yadex-1.7.0/src/wads2.cc:570: check_return: Calling function "getchar()" without checking return value. This library function may fail and return an error code. >yadex-1.7.0/src/wads2.cc:570: unchecked_value: No check of the return value of "getchar()". > >Error: CHECKED_RETURN (CWE-252): >yadex-1.7.0/src/bench.cc:69: cond_true: Condition "sprite_loc.wad == NULL", taking true branch >yadex-1.7.0/src/bench.cc:75: cond_true: Condition "n < iterations", taking true branch >yadex-1.7.0/src/bench.cc:76: check_return: Calling function "LoadPicture(Img &, char const *, Lump_loc const &, int, int, int *, int *)" without checking return value (as is done elsewhere 6 out of 7 times). >yadex-1.7.0/src/disppic.cc:62: example_checked: "LoadPicture(c->img, c->name, loc, 0, 0, &c->width, &c->height)" has its value checked in "LoadPicture(c->img, c->name, loc, 0, 0, &c->width, &c->height)". >yadex-1.7.0/src/drawmap.cc:768: example_checked: "LoadPicture(img_raw, sprite_root, loc, 0, 0, NULL, NULL)" has its value checked in "LoadPicture(img_raw, sprite_root, loc, 0, 0, NULL, NULL)". >yadex-1.7.0/src/objinfo.cc:208: example_checked: "LoadPicture(img, sprite_root, loc, -2147483648, -2147483648, NULL, NULL)" has its value checked in "LoadPicture(img, sprite_root, loc, -2147483648, -2147483648, NULL, NULL)". >yadex-1.7.0/src/r_images.cc:311: example_checked: "LoadPicture(texbuf, picname, loc, xofs, yofs, NULL, NULL)" has its value checked in "LoadPicture(texbuf, picname, loc, xofs, yofs, NULL, NULL)". >yadex-1.7.0/src/textures.cc:439: example_checked: "LoadPicture(c->img, picname, loc, xofs, yofs, NULL, NULL)" has its value checked in "LoadPicture(c->img, picname, loc, xofs, yofs, NULL, NULL)". >yadex-1.7.0/src/bench.cc:76: unchecked_value: No check of the return value of "LoadPicture(img, sprite_name, sprite_loc, 0, 0, NULL, NULL)". > >Error: CHECKED_RETURN (CWE-252): >yadex-1.7.0/src/wads2.cc:593: cond_true: Condition "patchonly", taking true branch >yadex-1.7.0/src/wads2.cc:598: cond_false: Condition "FindMasterDir(MasterDir, "E2M4") == NULL", taking false branch >yadex-1.7.0/src/wads2.cc:606: cond_false: Condition "(file = fopen(filename, "wb")) == NULL", taking false branch >yadex-1.7.0/src/wads2.cc:608: cond_true: Condition "patchonly", taking true branch >yadex-1.7.0/src/wads2.cc:618: check_return: Calling function "Wad_list::get(Wad_file const *&) const" without checking return value (as is done elsewhere 4 out of 5 times). >yadex-1.7.0/src/yadex.cc:1375: example_checked: "wad_list.get(wf)" has its value checked in "wad_list.get(wf)". >yadex-1.7.0/src/yadex.cc:760: example_checked: "wad_list.get(wf)" has its value checked in "wad_list.get(wf)". >yadex-1.7.0/src/yadex.cc:762: example_checked: "wad_list.get(wf)" has its value checked in "wad_list.get(wf)". >yadex-1.7.0/src/yadex.cc:851: example_checked: "wad_list.get(wf)" has its value checked in "wad_list.get(wf)". >yadex-1.7.0/src/wads2.cc:618: unchecked_value: No check of the return value of "wad_list.get(iwad)". > >Error: CHECKED_RETURN (CWE-252): >yadex-1.7.0/src/wads2.cc:679: cond_true: Condition "entry != NULL", taking true branch >yadex-1.7.0/src/wads2.cc:681: cond_false: Condition "y_strnicmp(entry->dir.name, entryname, 8UL /* WAD_NAME */) != 0", taking false branch >yadex-1.7.0/src/wads2.cc:689: cond_true: Condition "n < entry->dir.size", taking true branch >yadex-1.7.0/src/wads2.cc:696: cond_true: Condition "bytes_to_read > 16L /* bytes_per_line */", taking true branch >yadex-1.7.0/src/wads2.cc:699: cond_false: Condition "wf->error()", taking false branch >yadex-1.7.0/src/wads2.cc:703: cond_true: Condition "i < nbytes", taking true branch >yadex-1.7.0/src/wads2.cc:703: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/wads2.cc:703: cond_true: Condition "i < nbytes", taking true branch >yadex-1.7.0/src/wads2.cc:703: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/wads2.cc:703: cond_false: Condition "i < nbytes", taking false branch >yadex-1.7.0/src/wads2.cc:705: cond_true: Condition "i < 16 /* bytes_per_line */", taking true branch >yadex-1.7.0/src/wads2.cc:705: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/wads2.cc:705: cond_false: Condition "i < 16 /* bytes_per_line */", taking false branch >yadex-1.7.0/src/wads2.cc:709: cond_true: Condition "i < nbytes", taking true branch >yadex-1.7.0/src/wads2.cc:711: cond_true: Condition "buf[i] >= 32", taking true branch >yadex-1.7.0/src/wads2.cc:711: cond_true: Condition "buf[i] != 127", taking true branch >yadex-1.7.0/src/wads2.cc:711: cond_false: Condition "buf[i] >= 128", taking false branch >yadex-1.7.0/src/wads2.cc:720: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/wads2.cc:709: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/wads2.cc:709: cond_true: Condition "i < nbytes", taking true branch >yadex-1.7.0/src/wads2.cc:711: cond_true: Condition "buf[i] >= 32", taking true branch >yadex-1.7.0/src/wads2.cc:711: cond_true: Condition "buf[i] != 127", taking true branch >yadex-1.7.0/src/wads2.cc:711: cond_false: Condition "buf[i] >= 128", taking false branch >yadex-1.7.0/src/wads2.cc:720: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/wads2.cc:709: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/wads2.cc:709: cond_false: Condition "i < nbytes", taking false branch >yadex-1.7.0/src/wads2.cc:720: loop_end: Reached end of loop >yadex-1.7.0/src/wads2.cc:723: cond_true: Condition "file == stdout", taking true branch >yadex-1.7.0/src/wads2.cc:723: cond_true: Condition "lines++ > screen_lines - 4", taking true branch >yadex-1.7.0/src/wads2.cc:731: cond_true: Condition "key == 'S'", taking true branch >yadex-1.7.0/src/wads2.cc:733: check_return: Calling function "getchar()" without checking return value. This library function may fail and return an error code. >yadex-1.7.0/src/wads2.cc:733: unchecked_value: No check of the return value of "getchar()". > >Error: CHECKED_RETURN (CWE-252): >yadex-1.7.0/src/wads2.cc:679: cond_true: Condition "entry != NULL", taking true branch >yadex-1.7.0/src/wads2.cc:681: cond_false: Condition "y_strnicmp(entry->dir.name, entryname, 8UL /* WAD_NAME */) != 0", taking false branch >yadex-1.7.0/src/wads2.cc:689: cond_true: Condition "n < entry->dir.size", taking true branch >yadex-1.7.0/src/wads2.cc:696: cond_true: Condition "bytes_to_read > 16L /* bytes_per_line */", taking true branch >yadex-1.7.0/src/wads2.cc:699: cond_false: Condition "wf->error()", taking false branch >yadex-1.7.0/src/wads2.cc:703: cond_true: Condition "i < nbytes", taking true branch >yadex-1.7.0/src/wads2.cc:703: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/wads2.cc:703: cond_true: Condition "i < nbytes", taking true branch >yadex-1.7.0/src/wads2.cc:703: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/wads2.cc:703: cond_false: Condition "i < nbytes", taking false branch >yadex-1.7.0/src/wads2.cc:705: cond_true: Condition "i < 16 /* bytes_per_line */", taking true branch >yadex-1.7.0/src/wads2.cc:705: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/wads2.cc:705: cond_false: Condition "i < 16 /* bytes_per_line */", taking false branch >yadex-1.7.0/src/wads2.cc:709: cond_true: Condition "i < nbytes", taking true branch >yadex-1.7.0/src/wads2.cc:711: cond_true: Condition "buf[i] >= 32", taking true branch >yadex-1.7.0/src/wads2.cc:711: cond_true: Condition "buf[i] != 127", taking true branch >yadex-1.7.0/src/wads2.cc:711: cond_false: Condition "buf[i] >= 128", taking false branch >yadex-1.7.0/src/wads2.cc:720: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/wads2.cc:709: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/wads2.cc:709: cond_true: Condition "i < nbytes", taking true branch >yadex-1.7.0/src/wads2.cc:711: cond_true: Condition "buf[i] >= 32", taking true branch >yadex-1.7.0/src/wads2.cc:711: cond_true: Condition "buf[i] != 127", taking true branch >yadex-1.7.0/src/wads2.cc:711: cond_false: Condition "buf[i] >= 128", taking false branch >yadex-1.7.0/src/wads2.cc:720: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/wads2.cc:709: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/wads2.cc:709: cond_false: Condition "i < nbytes", taking false branch >yadex-1.7.0/src/wads2.cc:720: loop_end: Reached end of loop >yadex-1.7.0/src/wads2.cc:723: cond_true: Condition "file == stdout", taking true branch >yadex-1.7.0/src/wads2.cc:723: cond_true: Condition "lines++ > screen_lines - 4", taking true branch >yadex-1.7.0/src/wads2.cc:731: cond_false: Condition "key == 'S'", taking false branch >yadex-1.7.0/src/wads2.cc:731: cond_false: Condition "key == 's'", taking false branch >yadex-1.7.0/src/wads2.cc:735: if_end: End of if statement >yadex-1.7.0/src/wads2.cc:736: cond_true: Condition "key == 'Q'", taking true branch >yadex-1.7.0/src/wads2.cc:738: check_return: Calling function "getchar()" without checking return value. This library function may fail and return an error code. >yadex-1.7.0/src/wads2.cc:738: unchecked_value: No check of the return value of "getchar()". > >Error: COPY_PASTE_ERROR: >yadex-1.7.0/src/s_lift.cc:150: original: "(SideDefs + sd1).tex3" looks like the original copy. >yadex-1.7.0/src/s_lift.cc:165: copy_paste_error: "sd1" in "(SideDefs + sd1).tex3" looks like a copy-paste error. Should it say "sd2" instead? > >Error: CTOR_DTOR_LEAK (CWE-401): >yadex-1.7.0/src/edisplay.cc:82: alloc_new: Allocating memory by calling "new infobar_c". >yadex-1.7.0/src/edisplay.cc:82: var_assign: Assigning: "this->infobar" = "new infobar_c". >yadex-1.7.0/src/edisplay.cc:82: ctor_dtor_leak: The constructor allocates field "infobar" of "edisplay_c" but the destructor and whatever functions it calls do not free it. >yadex-1.7.0/src/edisplay.cc:86: destructor: This is the destructor implementation. > >Error: DEADCODE (CWE-561): >yadex-1.7.0/src/menu.cc:1072: dead_error_condition: The switch value "i.flags & 3" cannot reach the default case. >yadex-1.7.0/src/menu.cc:1090: dead_error_begin: Execution cannot reach this statement "default:". > >Error: DEADCODE (CWE-561): >yadex-1.7.0/src/menu.cc:779: assignment: Assigning: "status" = "'i'". >yadex-1.7.0/src/menu.cc:956: const: At condition "status == 'i'", the value of "status" must be equal to 105. >yadex-1.7.0/src/menu.cc:956: dead_error_condition: The condition "status == 'i'" must be true. >yadex-1.7.0/src/menu.cc:961: dead_error_begin: Execution cannot reach this statement "fatal_error("Menu::process_...". > >Error: DEADCODE (CWE-561): >yadex-1.7.0/src/editobj.cc:104: cond_const: Condition "(key = InputInteger(x0 + 10, y0 + 28, &num, 0, GetMaxObjectNum(init.type))) != 13", taking false branch. Now the value of "key" is equal to 13. >yadex-1.7.0/src/editobj.cc:110: const: At condition "key == 13", the value of "key" must be equal to 13. >yadex-1.7.0/src/editobj.cc:110: dead_error_condition: The condition "key == 13" must be true. >yadex-1.7.0/src/editobj.cc:117: dead_error_begin: Execution cannot reach this statement "nf_bug("input_objid: bad ke...". > >Error: DEADCODE (CWE-561): >yadex-1.7.0/src/yadex.cc:1255: assignment: Assigning: "n" = "0UL". >yadex-1.7.0/src/yadex.cc:1255: incr: Incrementing "n". The value of "n" is now 1. >yadex-1.7.0/src/yadex.cc:1255: incr: Incrementing "n". The value of "n" is now 2. >yadex-1.7.0/src/yadex.cc:1255: cond_between: Condition "n < 45UL", taking true branch. Now the value of "n" is between 2 and 44. >yadex-1.7.0/src/yadex.cc:1269: cond_between: Condition "n < 16UL", taking false branch. Now the value of "n" is between 16 and 44. >yadex-1.7.0/src/yadex.cc:1359: const: At condition "n == 44UL", the value of "n" must be equal to 44. >yadex-1.7.0/src/yadex.cc:1289: cond_cannot_single: Condition "n == 16UL", taking false branch. Now the value of "n" cannot be equal to 16. >yadex-1.7.0/src/yadex.cc:1290: cond_cannot_set: Condition "n == 17UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17}. >yadex-1.7.0/src/yadex.cc:1291: cond_cannot_set: Condition "n == 18UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18}. >yadex-1.7.0/src/yadex.cc:1292: cond_cannot_set: Condition "n == 19UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19}. >yadex-1.7.0/src/yadex.cc:1303: cond_cannot_set: Condition "n == 20UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20}. >yadex-1.7.0/src/yadex.cc:1304: cond_cannot_set: Condition "n == 21UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21}. >yadex-1.7.0/src/yadex.cc:1305: cond_cannot_set: Condition "n == 22UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22}. >yadex-1.7.0/src/yadex.cc:1306: cond_cannot_set: Condition "n == 23UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23}. >yadex-1.7.0/src/yadex.cc:1321: cond_cannot_set: Condition "n == 24UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24}. >yadex-1.7.0/src/yadex.cc:1322: cond_cannot_set: Condition "n == 25UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25}. >yadex-1.7.0/src/yadex.cc:1323: cond_cannot_set: Condition "n == 26UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26}. >yadex-1.7.0/src/yadex.cc:1324: cond_cannot_set: Condition "n == 27UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27}. >yadex-1.7.0/src/yadex.cc:1336: cond_cannot_set: Condition "n == 28UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28}. >yadex-1.7.0/src/yadex.cc:1337: cond_cannot_set: Condition "n == 29UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29}. >yadex-1.7.0/src/yadex.cc:1338: cond_cannot_set: Condition "n == 30UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30}. >yadex-1.7.0/src/yadex.cc:1339: cond_cannot_set: Condition "n == 31UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31}. >yadex-1.7.0/src/yadex.cc:1340: cond_cannot_set: Condition "n == 32UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32}. >yadex-1.7.0/src/yadex.cc:1341: cond_cannot_set: Condition "n == 33UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33}. >yadex-1.7.0/src/yadex.cc:1342: cond_cannot_set: Condition "n == 34UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34}. >yadex-1.7.0/src/yadex.cc:1345: cond_cannot_set: Condition "n == 35UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35}. >yadex-1.7.0/src/yadex.cc:1346: cond_cannot_set: Condition "n == 36UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36}. >yadex-1.7.0/src/yadex.cc:1347: cond_cannot_set: Condition "n == 37UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37}. >yadex-1.7.0/src/yadex.cc:1348: cond_cannot_set: Condition "n == 38UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38}. >yadex-1.7.0/src/yadex.cc:1349: cond_cannot_set: Condition "n == 39UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39}. >yadex-1.7.0/src/yadex.cc:1350: cond_cannot_set: Condition "n == 40UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40}. >yadex-1.7.0/src/yadex.cc:1352: cond_cannot_set: Condition "n == 41UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41}. >yadex-1.7.0/src/yadex.cc:1353: cond_cannot_set: Condition "n == 42UL", taking false branch. Now the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42}. >yadex-1.7.0/src/yadex.cc:1359: cannot_set: At condition "n == 44UL", the value of "n" cannot be equal to any of {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42}. >yadex-1.7.0/src/yadex.cc:1359: dead_error_condition: The condition "n == 44UL" must be true. >yadex-1.7.0/src/yadex.cc:1362: dead_error_line: Execution cannot reach this statement "fatal_error("Wrong acn %d",...". > >Error: FORWARD_NULL (CWE-476): >yadex-1.7.0/src/swapmem.cc:191: cond_true: Condition "dir == NULL", taking true branch >yadex-1.7.0/src/swapmem.cc:194: cond_true: Condition "mkstemp(handle) == -1", taking true branch >yadex-1.7.0/src/swapmem.cc:208: cond_true: Condition "file == NULL", taking true branch >yadex-1.7.0/src/swapmem.cc:208: var_compare_op: Comparing "file" to null implies that "file" might be null. >yadex-1.7.0/src/swapmem.cc:216: cond_true: Condition "size > 32768", taking true branch >yadex-1.7.0/src/swapmem.cc:218: var_deref_model: Passing null pointer "file" to function "fwrite(void const *, size_t, size_t, FILE *)", which dereferences it. > >Error: FORWARD_NULL (CWE-476): >yadex-1.7.0/src/swapmem.cc:135: cond_false: Condition "!strcmp(handle, "...")", taking false branch >yadex-1.7.0/src/swapmem.cc:148: cond_true: Condition "file == NULL", taking true branch >yadex-1.7.0/src/swapmem.cc:148: var_compare_op: Comparing "file" to null implies that "file" might be null. >yadex-1.7.0/src/swapmem.cc:155: cond_true: Condition "size > 32768", taking true branch >yadex-1.7.0/src/swapmem.cc:157: var_deref_model: Passing null pointer "file" to function "fread(void *, size_t, size_t, FILE *)", which dereferences it. > >Error: FORWARD_NULL (CWE-476): >yadex-1.7.0/src/colour4.cc:159: cond_true: Condition "verbose", taking true branch >yadex-1.7.0/src/colour4.cc:162: cond_false: Condition "pcn_table == NULL", taking false branch >yadex-1.7.0/src/colour4.cc:167: cond_true: Condition "count", taking true branch >yadex-1.7.0/src/colour4.cc:171: cond_true: Condition "i < physical_colours", taking true branch >yadex-1.7.0/src/colour4.cc:172: cond_true: Condition "(pcolours + i).pcn == *pcn", taking true branch >yadex-1.7.0/src/colour4.cc:173: break: Breaking from loop >yadex-1.7.0/src/colour4.cc:175: cond_false: Condition "i == physical_colours", taking false branch >yadex-1.7.0/src/colour4.cc:179: cond_true: Condition "(pcolours + i).usage_count < 1", taking true branch >yadex-1.7.0/src/colour4.cc:183: cond_true: Condition "(pcolours + i).usage_count == 0", taking true branch >yadex-1.7.0/src/colour4.cc:189: cond_false: Condition "err_msg", taking false branch >yadex-1.7.0/src/colour4.cc:194: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/colour4.cc:167: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/colour4.cc:167: cond_true: Condition "count", taking true branch >yadex-1.7.0/src/colour4.cc:171: cond_true: Condition "i < physical_colours", taking true branch >yadex-1.7.0/src/colour4.cc:172: cond_false: Condition "(pcolours + i).pcn == *pcn", taking false branch >yadex-1.7.0/src/colour4.cc:171: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/colour4.cc:171: cond_true: Condition "i < physical_colours", taking true branch >yadex-1.7.0/src/colour4.cc:172: cond_true: Condition "(pcolours + i).pcn == *pcn", taking true branch >yadex-1.7.0/src/colour4.cc:173: break: Breaking from loop >yadex-1.7.0/src/colour4.cc:175: cond_false: Condition "i == physical_colours", taking false branch >yadex-1.7.0/src/colour4.cc:179: cond_true: Condition "(pcolours + i).usage_count < 1", taking true branch >yadex-1.7.0/src/colour4.cc:183: cond_true: Condition "(pcolours + i).usage_count == 0", taking true branch >yadex-1.7.0/src/colour4.cc:189: cond_false: Condition "err_msg", taking false branch >yadex-1.7.0/src/colour4.cc:194: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/colour4.cc:167: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/colour4.cc:167: cond_false: Condition "count", taking false branch >yadex-1.7.0/src/colour4.cc:194: loop_end: Reached end of loop >yadex-1.7.0/src/colour4.cc:201: cond_true: Condition "i < physical_colours", taking true branch >yadex-1.7.0/src/colour4.cc:202: cond_true: Condition "(pcolours + i).pcn != 4294967295U", taking true branch >yadex-1.7.0/src/colour4.cc:201: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/colour4.cc:201: cond_true: Condition "i < physical_colours", taking true branch >yadex-1.7.0/src/colour4.cc:202: cond_true: Condition "(pcolours + i).pcn != 4294967295U", taking true branch >yadex-1.7.0/src/colour4.cc:201: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/colour4.cc:201: cond_false: Condition "i < physical_colours", taking false branch >yadex-1.7.0/src/colour4.cc:209: cond_false: Condition "new_physical_colours == 0", taking false branch >yadex-1.7.0/src/colour4.cc:215: else_branch: Reached else branch >yadex-1.7.0/src/colour4.cc:219: cond_true: Condition "new_pcolours == NULL", taking true branch >yadex-1.7.0/src/colour4.cc:219: var_compare_op: Comparing "new_pcolours" to null implies that "new_pcolours" might be null. >yadex-1.7.0/src/colour4.cc:221: alias_transfer: Assigning: "new_item" = "new_pcolours". >yadex-1.7.0/src/colour4.cc:222: cond_true: Condition "i < physical_colours", taking true branch >yadex-1.7.0/src/colour4.cc:223: cond_true: Condition "(pcolours + i).pcn != 4294967295U", taking true branch >yadex-1.7.0/src/colour4.cc:224: dereference: Incrementing null pointer "new_item". > >Error: FORWARD_NULL (CWE-476): >yadex-1.7.0/src/palview.cc:61: assign_zero: Assigning: "colormap" = "NULL". >yadex-1.7.0/src/palview.cc:68: cond_true: Condition "n < 256UL /* DOOM_COLOURS */", taking true branch >yadex-1.7.0/src/palview.cc:68: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/palview.cc:68: cond_true: Condition "n < 256UL /* DOOM_COLOURS */", taking true branch >yadex-1.7.0/src/palview.cc:68: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/palview.cc:68: cond_false: Condition "n < 256UL /* DOOM_COLOURS */", taking false branch >yadex-1.7.0/src/palview.cc:72: cond_false: Condition "dir == NULL", taking false branch >yadex-1.7.0/src/palview.cc:76: if_end: End of if statement >yadex-1.7.0/src/palview.cc:78: cond_true: Condition "dir->dir.size % (768UL /* 3 * DOOM_COLOURS */) != 0", taking true branch >yadex-1.7.0/src/palview.cc:84: cond_false: Condition "wf->error()", taking false branch >yadex-1.7.0/src/palview.cc:88: if_end: End of if statement >yadex-1.7.0/src/palview.cc:90: cond_true: Condition "n < 256UL /* DOOM_COLOURS */", taking true branch >yadex-1.7.0/src/palview.cc:95: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/palview.cc:90: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/palview.cc:90: cond_true: Condition "n < 256UL /* DOOM_COLOURS */", taking true branch >yadex-1.7.0/src/palview.cc:95: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/palview.cc:90: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/palview.cc:90: cond_false: Condition "n < 256UL /* DOOM_COLOURS */", taking false branch >yadex-1.7.0/src/palview.cc:95: loop_end: Reached end of loop >yadex-1.7.0/src/palview.cc:96: cond_false: Condition "wf->error()", taking false branch >yadex-1.7.0/src/palview.cc:106: cond_false: Condition "dir == NULL", taking false branch >yadex-1.7.0/src/palview.cc:110: if_end: End of if statement >yadex-1.7.0/src/palview.cc:113: cond_true: Condition "256L /* (long)DOOM_COLOURS */ * nmaps != dir->dir.size", taking true branch >yadex-1.7.0/src/palview.cc:118: cond_true: Condition "nmaps > 200", taking true branch >yadex-1.7.0/src/palview.cc:125: cond_true: Condition "wf->error()", taking true branch >yadex-1.7.0/src/palview.cc:128: break: Breaking from loop >yadex-1.7.0/src/palview.cc:138: loop_end: Reached end of loop >yadex-1.7.0/src/palview.cc:162: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/palview.cc:164: var_deref_op: Dereferencing null pointer "colormap". > >Error: FORWARD_NULL (CWE-476): >yadex-1.7.0/src/editloop.cc:120: assign_zero: Assigning: "levels" = "NULL". >yadex-1.7.0/src/editloop.cc:124: cond_true: Condition "dir", taking true branch >yadex-1.7.0/src/editloop.cc:126: cond_false: Condition "levelname2levelno(dir->dir.name) > 0", taking false branch >yadex-1.7.0/src/editloop.cc:135: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:136: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/editloop.cc:124: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/editloop.cc:124: cond_false: Condition "dir", taking false branch >yadex-1.7.0/src/editloop.cc:136: loop_end: Reached end of loop >yadex-1.7.0/src/editloop.cc:137: cond_true: Condition "n == 0", taking true branch >yadex-1.7.0/src/editloop.cc:137: cond_false: Condition "levelno != 0", taking false branch >yadex-1.7.0/src/editloop.cc:141: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:144: var_deref_model: Passing null pointer "levels" to function "qsort(void *, size_t, size_t, __compar_fn_t)", which dereferences it. > >Error: FORWARD_NULL (CWE-476): >yadex-1.7.0/src/editloop.cc:239: cond_true: Condition "InfoShown", taking true branch >yadex-1.7.0/src/editloop.cc:270: cond_true: Condition "zoom_default == 0", taking true branch >yadex-1.7.0/src/editloop.cc:273: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/editloop.cc:279: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:280: cond_true: Condition "true /* 1 */", taking true branch >yadex-1.7.0/src/editloop.cc:293: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/editloop.cc:308: cond_true: Condition "yg_level_format == YGLF_HEXEN", taking true branch >yadex-1.7.0/src/editloop.cc:510: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/editloop.cc:523: cond_false: Condition "e.highlighted()", taking false branch >yadex-1.7.0/src/editloop.cc:528: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:545: cond_true: Condition "has_key_press_event()", taking true branch >yadex-1.7.0/src/editloop.cc:550: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:556: cond_true: Condition "OrigX + (int)(((int)is.x - ScrCenterX) / Scale) != e.pointer_x", taking true branch >yadex-1.7.0/src/editloop.cc:577: cond_false: Condition "e.menubar->pulled_down() >= 0", taking false branch >yadex-1.7.0/src/editloop.cc:663: cond_true: Condition "e.modpopup->get() == e.mb_menu[MBM_MISC_L]", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_true: Condition "r == -1 /* MEN_CANCEL */", taking true branch >yadex-1.7.0/src/editloop.cc:675: goto: Jumping to label "done2" >yadex-1.7.0/src/editloop.cc:2552: label: Reached label "done2" >yadex-1.7.0/src/editloop.cc:2555: cond_true: Condition "has_event(291 /* YE_ZOOM_CHANGED */)", taking true branch >yadex-1.7.0/src/editloop.cc:2555: cond_true: Condition "!e.grid_step_locked", taking true branch >yadex-1.7.0/src/editloop.cc:2562: cond_true: Condition "RedrawMap", taking true branch >yadex-1.7.0/src/editloop.cc:2564: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/editloop.cc:510: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/editloop.cc:510: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/editloop.cc:523: cond_false: Condition "e.highlighted()", taking false branch >yadex-1.7.0/src/editloop.cc:528: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:545: cond_true: Condition "has_key_press_event()", taking true branch >yadex-1.7.0/src/editloop.cc:550: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:556: cond_true: Condition "OrigX + (int)(((int)is.x - ScrCenterX) / Scale) != e.pointer_x", taking true branch >yadex-1.7.0/src/editloop.cc:577: cond_false: Condition "e.menubar->pulled_down() >= 0", taking false branch >yadex-1.7.0/src/editloop.cc:663: cond_true: Condition "e.modpopup->get() == e.mb_menu[MBM_MISC_L]", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_true: Condition "r == -1 /* MEN_CANCEL */", taking true branch >yadex-1.7.0/src/editloop.cc:675: goto: Jumping to label "done2" >yadex-1.7.0/src/editloop.cc:2552: label: Reached label "done2" >yadex-1.7.0/src/editloop.cc:2555: cond_false: Condition "has_event(291 /* YE_ZOOM_CHANGED */)", taking false branch >yadex-1.7.0/src/editloop.cc:2560: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:2562: cond_false: Condition "RedrawMap", taking false branch >yadex-1.7.0/src/editloop.cc:2564: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/editloop.cc:510: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/editloop.cc:510: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/editloop.cc:523: cond_false: Condition "e.highlighted()", taking false branch >yadex-1.7.0/src/editloop.cc:528: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:545: cond_true: Condition "has_key_press_event()", taking true branch >yadex-1.7.0/src/editloop.cc:550: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:556: cond_true: Condition "OrigX + (int)(((int)is.x - ScrCenterX) / Scale) != e.pointer_x", taking true branch >yadex-1.7.0/src/editloop.cc:577: cond_false: Condition "e.menubar->pulled_down() >= 0", taking false branch >yadex-1.7.0/src/editloop.cc:663: cond_true: Condition "e.modpopup->get() == e.mb_menu[MBM_MISC_L]", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_true: Condition "r == -1 /* MEN_CANCEL */", taking true branch >yadex-1.7.0/src/editloop.cc:675: goto: Jumping to label "done2" >yadex-1.7.0/src/editloop.cc:2552: label: Reached label "done2" >yadex-1.7.0/src/editloop.cc:2555: cond_true: Condition "has_event(291 /* YE_ZOOM_CHANGED */)", taking true branch >yadex-1.7.0/src/editloop.cc:2555: cond_true: Condition "!e.grid_step_locked", taking true branch >yadex-1.7.0/src/editloop.cc:2562: cond_true: Condition "RedrawMap", taking true branch >yadex-1.7.0/src/editloop.cc:2564: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/editloop.cc:510: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/editloop.cc:510: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/editloop.cc:523: cond_false: Condition "e.highlighted()", taking false branch >yadex-1.7.0/src/editloop.cc:528: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:545: cond_true: Condition "has_key_press_event()", taking true branch >yadex-1.7.0/src/editloop.cc:550: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:556: cond_true: Condition "OrigX + (int)(((int)is.x - ScrCenterX) / Scale) != e.pointer_x", taking true branch >yadex-1.7.0/src/editloop.cc:577: cond_false: Condition "e.menubar->pulled_down() >= 0", taking false branch >yadex-1.7.0/src/editloop.cc:663: cond_true: Condition "e.modpopup->get() == e.mb_menu[MBM_MISC_L]", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_false: Condition "r == -1 /* MEN_CANCEL */", taking false branch >yadex-1.7.0/src/editloop.cc:671: cond_true: Condition "r == -3 /* MEN_INVALID */", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:680: cond_false: Condition "r == -2 /* MEN_OTHER */", taking false branch >yadex-1.7.0/src/editloop.cc:686: cond_true: Condition "r == -3 /* MEN_INVALID */", taking true branch >yadex-1.7.0/src/editloop.cc:687: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/editloop.cc:706: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:707: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/editloop.cc:870: cond_false: Condition "is.key == 279 /* YE_EXPOSE */", taking false branch >yadex-1.7.0/src/editloop.cc:876: cond_false: Condition "is.key == 278 /* YE_RESIZE */", taking false branch >yadex-1.7.0/src/editloop.cc:882: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:885: cond_false: Condition "e.modpopup->get() != NULL", taking false branch >yadex-1.7.0/src/editloop.cc:897: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:913: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:933: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:957: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:972: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:994: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:1009: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:1025: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:1031: cond_true: Condition "is.key == 281 /* YE_BUTL_RELEASE */", taking true branch >yadex-1.7.0/src/editloop.cc:1031: cond_true: Condition "e.tool == TOOL_NORMAL", taking true branch >yadex-1.7.0/src/editloop.cc:1031: cond_true: Condition "e.clicked == CANVAS", taking true branch >yadex-1.7.0/src/editloop.cc:1040: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/editloop.cc:1101: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:1101: cond_true: Condition "!is.butl", taking true branch >yadex-1.7.0/src/editloop.cc:1101: cond_true: Condition "!is.shift", taking true branch >yadex-1.7.0/src/editloop.cc:1111: cond_true: Condition "(is.key & 8191 /* YK_SHIFT - 1 */) > 0", taking true branch >yadex-1.7.0/src/editloop.cc:1111: cond_false: Condition "(is.key & 8191 /* YK_SHIFT - 1 */) < 277 /* YK__LAST */", taking false branch >yadex-1.7.0/src/editloop.cc:1111: cond_false: Condition "is.key == 286 /* YE_WHEEL_UP */", taking false branch >yadex-1.7.0/src/editloop.cc:1111: cond_false: Condition "is.key == 287 /* YE_WHEEL_DOWN */", taking false branch >yadex-1.7.0/src/editloop.cc:2462: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:2478: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:2478: cond_true: Condition "autoscroll", taking true branch >yadex-1.7.0/src/editloop.cc:2478: cond_true: Condition "!is.scroll_lock", taking true branch >yadex-1.7.0/src/editloop.cc:2478: cond_true: Condition "e.menubar->pulled_down() < 0", taking true branch >yadex-1.7.0/src/editloop.cc:2494: cond_true: Condition "distance <= autoscroll_edge", taking true branch >yadex-1.7.0/src/editloop.cc:2494: cond_false: Condition "e.menubar->is_under_menubar_item(is.x) < 0", taking false branch >yadex-1.7.0/src/editloop.cc:2504: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:2507: cond_true: Condition "distance <= autoscroll_edge", taking true branch >yadex-1.7.0/src/editloop.cc:2509: cond_false: Condition "false /* !1 */", taking false branch >yadex-1.7.0/src/editloop.cc:2511: cond_true: Condition "OrigY + (int)((ScrCenterY - (int)ScrCenterY) / Scale) > -20000", taking true branch >yadex-1.7.0/src/editloop.cc:2519: cond_true: Condition "distance <= autoscroll_edge", taking true branch >yadex-1.7.0/src/editloop.cc:2521: cond_false: Condition "false /* !1 */", taking false branch >yadex-1.7.0/src/editloop.cc:2523: cond_true: Condition "OrigX + (int)(((int)ScrCenterX - ScrCenterX) / Scale) > -20000", taking true branch >yadex-1.7.0/src/editloop.cc:2536: cond_true: Condition "distance <= autoscroll_edge", taking true branch >yadex-1.7.0/src/editloop.cc:2536: cond_true: Condition "(unsigned int)is.y >= 3 * FONTH", taking true branch >yadex-1.7.0/src/editloop.cc:2538: cond_false: Condition "false /* !1 */", taking false branch >yadex-1.7.0/src/editloop.cc:2540: cond_true: Condition "OrigX + (int)(((int)ScrCenterX - ScrCenterX) / Scale) < 20000", taking true branch >yadex-1.7.0/src/editloop.cc:2555: cond_true: Condition "has_event(291 /* YE_ZOOM_CHANGED */)", taking true branch >yadex-1.7.0/src/editloop.cc:2555: cond_true: Condition "!e.grid_step_locked", taking true branch >yadex-1.7.0/src/editloop.cc:2562: cond_true: Condition "RedrawMap", taking true branch >yadex-1.7.0/src/editloop.cc:2564: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/editloop.cc:510: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/editloop.cc:510: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/editloop.cc:523: cond_true: Condition "e.highlighted()", taking true branch >yadex-1.7.0/src/editloop.cc:528: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:545: cond_true: Condition "has_key_press_event()", taking true branch >yadex-1.7.0/src/editloop.cc:550: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:556: cond_true: Condition "OrigX + (int)(((int)is.x - ScrCenterX) / Scale) != e.pointer_x", taking true branch >yadex-1.7.0/src/editloop.cc:577: cond_false: Condition "e.menubar->pulled_down() >= 0", taking false branch >yadex-1.7.0/src/editloop.cc:663: cond_true: Condition "e.modpopup->get() == e.mb_menu[MBM_MISC_L]", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_false: Condition "r == -1 /* MEN_CANCEL */", taking false branch >yadex-1.7.0/src/editloop.cc:671: cond_true: Condition "r == -3 /* MEN_INVALID */", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:680: cond_false: Condition "r == -2 /* MEN_OTHER */", taking false branch >yadex-1.7.0/src/editloop.cc:686: cond_true: Condition "r == -3 /* MEN_INVALID */", taking true branch >yadex-1.7.0/src/editloop.cc:687: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/editloop.cc:706: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:707: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/editloop.cc:870: cond_false: Condition "is.key == 279 /* YE_EXPOSE */", taking false branch >yadex-1.7.0/src/editloop.cc:876: cond_false: Condition "is.key == 278 /* YE_RESIZE */", taking false branch >yadex-1.7.0/src/editloop.cc:882: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:885: cond_false: Condition "e.modpopup->get() != NULL", taking false branch >yadex-1.7.0/src/editloop.cc:897: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:913: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:933: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:957: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:972: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:994: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:1009: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:1025: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:1031: cond_false: Condition "is.key == 281 /* YE_BUTL_RELEASE */", taking false branch >yadex-1.7.0/src/editloop.cc:1044: cond_false: Condition "is.key == 281 /* YE_BUTL_RELEASE */", taking false branch >yadex-1.7.0/src/editloop.cc:1055: cond_false: Condition "is.key == 290 /* YE_MOTION */", taking false branch >yadex-1.7.0/src/editloop.cc:1069: cond_false: Condition "is.key == 290 /* YE_MOTION */", taking false branch >yadex-1.7.0/src/editloop.cc:1069: cond_true: Condition "motion", taking true branch >yadex-1.7.0/src/editloop.cc:1069: cond_true: Condition "e.tool == TOOL_NORMAL", taking true branch >yadex-1.7.0/src/editloop.cc:1069: cond_false: Condition "is.butl", taking false branch >yadex-1.7.0/src/editloop.cc:1080: cond_true: Condition "motion", taking true branch >yadex-1.7.0/src/editloop.cc:1080: cond_true: Condition "e.tool == TOOL_NORMAL", taking true branch >yadex-1.7.0/src/editloop.cc:1080: cond_false: Condition "is.butl", taking false branch >yadex-1.7.0/src/editloop.cc:1098: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:1101: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:1101: cond_true: Condition "!is.butl", taking true branch >yadex-1.7.0/src/editloop.cc:1101: cond_true: Condition "!is.shift", taking true branch >yadex-1.7.0/src/editloop.cc:1111: cond_true: Condition "(is.key & 8191 /* YK_SHIFT - 1 */) > 0", taking true branch >yadex-1.7.0/src/editloop.cc:1111: cond_true: Condition "(is.key & 8191 /* YK_SHIFT - 1 */) < 277 /* YK__LAST */", taking true branch >yadex-1.7.0/src/editloop.cc:1115: cond_false: Condition "is.key == 272 /* YK_LEFT */", taking false branch >yadex-1.7.0/src/editloop.cc:1124: cond_false: Condition "is.key == 275 /* YK_RIGHT */", taking false branch >yadex-1.7.0/src/editloop.cc:1133: cond_false: Condition "is.key == 32870 /* YK_ALT + 'f' */", taking false branch >yadex-1.7.0/src/editloop.cc:1136: cond_false: Condition "is.key == 32869 /* YK_ALT + 'e' */", taking false branch >yadex-1.7.0/src/editloop.cc:1139: cond_false: Condition "is.key == 32883 /* YK_ALT + 's' */", taking false branch >yadex-1.7.0/src/editloop.cc:1142: cond_false: Condition "is.key == 32886 /* YK_ALT + 'v' */", taking false branch >yadex-1.7.0/src/editloop.cc:1145: cond_false: Condition "is.key == 32877 /* YK_ALT + 'm' */", taking false branch >yadex-1.7.0/src/editloop.cc:1148: cond_false: Condition "is.key == 32879 /* YK_ALT + 'o' */", taking false branch >yadex-1.7.0/src/editloop.cc:1151: cond_false: Condition "is.key == 32867 /* YK_ALT + 'c' */", taking false branch >yadex-1.7.0/src/editloop.cc:1154: cond_false: Condition "is.key == 32872 /* YK_ALT + 'h' */", taking false branch >yadex-1.7.0/src/editloop.cc:1159: cond_false: Condition "is.key == '\f'", taking false branch >yadex-1.7.0/src/editloop.cc:1165: cond_false: Condition "is.key == 27 /* YK_ESC */", taking false branch >yadex-1.7.0/src/editloop.cc:1165: cond_false: Condition "is.key == 'q'", taking false branch >yadex-1.7.0/src/editloop.cc:1183: cond_false: Condition "is.key == 260 /* YK_F1 */", taking false branch >yadex-1.7.0/src/editloop.cc:1190: cond_false: Condition "is.key == 32865 /* YK_ALT + 'a' */", taking false branch >yadex-1.7.0/src/editloop.cc:1198: cond_false: Condition "is.key == 8452 /* YK_F1 + YK_SHIFT */", taking false branch >yadex-1.7.0/src/editloop.cc:1207: cond_false: Condition "is.key == 8453 /* YK_F2 + YK_SHIFT */", taking false branch >yadex-1.7.0/src/editloop.cc:1226: cond_false: Condition "is.key == 261 /* YK_F2 */", taking false branch >yadex-1.7.0/src/editloop.cc:1253: cond_true: Condition "is.key == 262 /* YK_F3 */", taking true branch >yadex-1.7.0/src/editloop.cc:1253: cond_true: Condition "Registered", taking true branch >yadex-1.7.0/src/editloop.cc:1259: cond_false: Condition "!CheckStartingPos()", taking false branch >yadex-1.7.0/src/editloop.cc:1262: cond_false: Condition "!*newlevelname", taking false branch >yadex-1.7.0/src/editloop.cc:1264: cond_true: Condition "!levelname", taking true branch >yadex-1.7.0/src/editloop.cc:1269: cond_true: Condition "!newLevel", taking true branch >yadex-1.7.0/src/editloop.cc:1269: var_compare_op: Comparing "newLevel" to null implies that "newLevel" might be null. >yadex-1.7.0/src/editloop.cc:1271: cond_true: Condition "Level", taking true branch >yadex-1.7.0/src/editloop.cc:1274: alias_transfer: Assigning: "newl" = "newLevel". >yadex-1.7.0/src/editloop.cc:1275: cond_true: Condition "m < 11", taking true branch >yadex-1.7.0/src/editloop.cc:1277: var_deref_op: Dereferencing null pointer "newl". > >Error: FORWARD_NULL (CWE-476): >yadex-1.7.0/src/wads2.cc:61: cond_false: Condition "wf == NULL", taking false branch >yadex-1.7.0/src/wads2.cc:63: cond_true: Condition "strncmp(wf->type, "IWAD", 4)", taking true branch >yadex-1.7.0/src/wads2.cc:67: assign_zero: Assigning: "lastp" = "NULL". >yadex-1.7.0/src/wads2.cc:68: cond_true: Condition "n < wf->dirsize", taking true branch >yadex-1.7.0/src/wads2.cc:74: cond_true: Condition "MasterDir", taking true branch >yadex-1.7.0/src/wads2.cc:75: var_deref_op: Dereferencing null pointer "lastp". > >Error: FORWARD_NULL (CWE-476): >yadex-1.7.0/src/cfgfile.cc:1407: assign_zero: Assigning: "token_start" = "NULL". >yadex-1.7.0/src/cfgfile.cc:1413: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/cfgfile.cc:1415: cond_false: Condition "*iptr == '\n'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1415: cond_false: Condition "*iptr == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1418: cond_true: Condition "*iptr == '"'", taking true branch >yadex-1.7.0/src/cfgfile.cc:1419: cond_true: Condition "!quoted", taking true branch >yadex-1.7.0/src/cfgfile.cc:1440: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/cfgfile.cc:1413: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:1413: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/cfgfile.cc:1415: cond_false: Condition "*iptr == '\n'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1415: cond_false: Condition "*iptr == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1418: cond_true: Condition "*iptr == '"'", taking true branch >yadex-1.7.0/src/cfgfile.cc:1419: cond_false: Condition "!quoted", taking false branch >yadex-1.7.0/src/cfgfile.cc:1440: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/cfgfile.cc:1413: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:1413: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/cfgfile.cc:1415: cond_false: Condition "*iptr == '\n'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1415: cond_false: Condition "*iptr == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1418: cond_false: Condition "*iptr == '"'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1422: cond_true: Condition "!in_token", taking true branch >yadex-1.7.0/src/cfgfile.cc:1422: cond_true: Condition "!quoted", taking true branch >yadex-1.7.0/src/cfgfile.cc:1422: cond_false: Condition "*iptr == '#'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1426: cond_true: Condition "!in_token", taking true branch >yadex-1.7.0/src/cfgfile.cc:1426: cond_false: Condition "quoted", taking false branch >yadex-1.7.0/src/cfgfile.cc:1426: cond_true: Condition "!isspace(*iptr)", taking true branch >yadex-1.7.0/src/cfgfile.cc:1429: cond_false: Condition "ntokens > 10UL /* MAX_TOKENS */", taking false branch >yadex-1.7.0/src/cfgfile.cc:1432: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/cfgfile.cc:1440: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/cfgfile.cc:1413: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:1413: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/cfgfile.cc:1415: cond_false: Condition "*iptr == '\n'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1415: cond_false: Condition "*iptr == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1418: cond_false: Condition "*iptr == '"'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1422: cond_false: Condition "!in_token", taking false branch >yadex-1.7.0/src/cfgfile.cc:1426: cond_false: Condition "!in_token", taking false branch >yadex-1.7.0/src/cfgfile.cc:1435: cond_true: Condition "in_token", taking true branch >yadex-1.7.0/src/cfgfile.cc:1435: cond_true: Condition "!quoted", taking true branch >yadex-1.7.0/src/cfgfile.cc:1435: cond_true: Condition "isspace(*iptr)", taking true branch >yadex-1.7.0/src/cfgfile.cc:1437: var_deref_model: Passing null pointer "token_start" to function "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const *, std::basic_string<char, std::char_traits<char>, std::allocator<char> >::size_type, std::allocator<char> const &)", which dereferences it. > >Error: FORWARD_NULL (CWE-476): >yadex-1.7.0/src/cfgfile.cc:1407: assign_zero: Assigning: "token_start" = "NULL". >yadex-1.7.0/src/cfgfile.cc:1413: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/cfgfile.cc:1415: cond_false: Condition "*iptr == '\n'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1415: cond_false: Condition "*iptr == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1418: cond_true: Condition "*iptr == '"'", taking true branch >yadex-1.7.0/src/cfgfile.cc:1419: cond_true: Condition "!quoted", taking true branch >yadex-1.7.0/src/cfgfile.cc:1440: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/cfgfile.cc:1413: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:1413: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/cfgfile.cc:1415: cond_false: Condition "*iptr == '\n'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1415: cond_false: Condition "*iptr == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1418: cond_true: Condition "*iptr == '"'", taking true branch >yadex-1.7.0/src/cfgfile.cc:1419: cond_false: Condition "!quoted", taking false branch >yadex-1.7.0/src/cfgfile.cc:1440: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/cfgfile.cc:1413: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:1413: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/cfgfile.cc:1415: cond_false: Condition "*iptr == '\n'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1415: cond_false: Condition "*iptr == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1418: cond_false: Condition "*iptr == '"'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1422: cond_true: Condition "!in_token", taking true branch >yadex-1.7.0/src/cfgfile.cc:1422: cond_true: Condition "!quoted", taking true branch >yadex-1.7.0/src/cfgfile.cc:1422: cond_false: Condition "*iptr == '#'", taking false branch >yadex-1.7.0/src/cfgfile.cc:1426: cond_true: Condition "!in_token", taking true branch >yadex-1.7.0/src/cfgfile.cc:1426: cond_false: Condition "quoted", taking false branch >yadex-1.7.0/src/cfgfile.cc:1426: cond_true: Condition "!isspace(*iptr)", taking true branch >yadex-1.7.0/src/cfgfile.cc:1429: cond_false: Condition "ntokens > 10UL /* MAX_TOKENS */", taking false branch >yadex-1.7.0/src/cfgfile.cc:1432: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/cfgfile.cc:1440: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/cfgfile.cc:1413: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:1413: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/cfgfile.cc:1415: cond_true: Condition "*iptr == '\n'", taking true branch >yadex-1.7.0/src/cfgfile.cc:1416: break: Breaking from loop >yadex-1.7.0/src/cfgfile.cc:1440: loop_end: Reached end of loop >yadex-1.7.0/src/cfgfile.cc:1442: cond_true: Condition "in_token", taking true branch >yadex-1.7.0/src/cfgfile.cc:1443: var_deref_model: Passing null pointer "token_start" to function "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const *, std::basic_string<char, std::char_traits<char>, std::allocator<char> >::size_type, std::allocator<char> const &)", which dereferences it. > >Error: FORWARD_NULL (CWE-476): >yadex-1.7.0/atclib/al_lsetpos.c:35: cond_false: Condition "l == NULL", taking false branch >yadex-1.7.0/atclib/al_lsetpos.c:35: cond_false: Condition "l->magic != AL_LLIST_MAGIC", taking false branch >yadex-1.7.0/atclib/al_lsetpos.c:35: if_end: End of if statement >yadex-1.7.0/atclib/al_lsetpos.c:40: cond_false: Condition "pos->curno > l->total", taking false branch >yadex-1.7.0/atclib/al_lsetpos.c:40: cond_false: Condition "pos->current != NULL", taking false branch >yadex-1.7.0/atclib/al_lsetpos.c:40: var_compare_op: Comparing "pos->current" to null implies that "pos->current" might be null. >yadex-1.7.0/atclib/al_lsetpos.c:40: cond_true: Condition "pos->prev != NULL", taking true branch >yadex-1.7.0/atclib/al_lsetpos.c:40: cond_false: Condition "pos->prev->next != NULL", taking false branch >yadex-1.7.0/atclib/al_lsetpos.c:51: if_end: End of if statement >yadex-1.7.0/atclib/al_lsetpos.c:53: alias_transfer: Assigning: "l->current" = "pos->current". >yadex-1.7.0/atclib/al_lsetpos.c:60: cond_true: Condition "l->ateol", taking true branch >yadex-1.7.0/atclib/al_lsetpos.c:60: var_deref_op: Dereferencing null pointer "l->current". > >Error: NEGATIVE_RETURNS (CWE-394): >yadex-1.7.0/src/editloop.cc:239: cond_true: Condition "InfoShown", taking true branch >yadex-1.7.0/src/editloop.cc:270: cond_true: Condition "zoom_default == 0", taking true branch >yadex-1.7.0/src/editloop.cc:273: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/editloop.cc:279: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:280: cond_true: Condition "true /* 1 */", taking true branch >yadex-1.7.0/src/editloop.cc:293: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/editloop.cc:308: cond_true: Condition "yg_level_format == YGLF_HEXEN", taking true branch >yadex-1.7.0/src/editloop.cc:510: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/editloop.cc:523: cond_false: Condition "e.highlighted()", taking false branch >yadex-1.7.0/src/editloop.cc:528: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:545: cond_true: Condition "has_key_press_event()", taking true branch >yadex-1.7.0/src/editloop.cc:550: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:556: cond_true: Condition "OrigX + (int)(((int)is.x - ScrCenterX) / Scale) != e.pointer_x", taking true branch >yadex-1.7.0/src/editloop.cc:577: cond_false: Condition "e.menubar->pulled_down() >= 0", taking false branch >yadex-1.7.0/src/editloop.cc:663: cond_true: Condition "e.modpopup->get() == e.mb_menu[MBM_MISC_L]", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_true: Condition "r == -1 /* MEN_CANCEL */", taking true branch >yadex-1.7.0/src/editloop.cc:675: goto: Jumping to label "done2" >yadex-1.7.0/src/editloop.cc:2552: label: Reached label "done2" >yadex-1.7.0/src/editloop.cc:2555: cond_true: Condition "has_event(291 /* YE_ZOOM_CHANGED */)", taking true branch >yadex-1.7.0/src/editloop.cc:2555: cond_true: Condition "!e.grid_step_locked", taking true branch >yadex-1.7.0/src/editloop.cc:2562: cond_true: Condition "RedrawMap", taking true branch >yadex-1.7.0/src/editloop.cc:2564: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/editloop.cc:510: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/editloop.cc:510: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/editloop.cc:523: cond_false: Condition "e.highlighted()", taking false branch >yadex-1.7.0/src/editloop.cc:528: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:545: cond_true: Condition "has_key_press_event()", taking true branch >yadex-1.7.0/src/editloop.cc:550: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:556: cond_true: Condition "OrigX + (int)(((int)is.x - ScrCenterX) / Scale) != e.pointer_x", taking true branch >yadex-1.7.0/src/editloop.cc:577: cond_false: Condition "e.menubar->pulled_down() >= 0", taking false branch >yadex-1.7.0/src/editloop.cc:663: cond_true: Condition "e.modpopup->get() == e.mb_menu[MBM_MISC_L]", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_true: Condition "r == -1 /* MEN_CANCEL */", taking true branch >yadex-1.7.0/src/editloop.cc:675: goto: Jumping to label "done2" >yadex-1.7.0/src/editloop.cc:2552: label: Reached label "done2" >yadex-1.7.0/src/editloop.cc:2555: cond_false: Condition "has_event(291 /* YE_ZOOM_CHANGED */)", taking false branch >yadex-1.7.0/src/editloop.cc:2560: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:2562: cond_false: Condition "RedrawMap", taking false branch >yadex-1.7.0/src/editloop.cc:2564: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/editloop.cc:510: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/editloop.cc:510: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/editloop.cc:523: cond_false: Condition "e.highlighted()", taking false branch >yadex-1.7.0/src/editloop.cc:528: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:545: cond_true: Condition "has_key_press_event()", taking true branch >yadex-1.7.0/src/editloop.cc:550: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:556: cond_true: Condition "OrigX + (int)(((int)is.x - ScrCenterX) / Scale) != e.pointer_x", taking true branch >yadex-1.7.0/src/editloop.cc:577: cond_false: Condition "e.menubar->pulled_down() >= 0", taking false branch >yadex-1.7.0/src/editloop.cc:663: cond_true: Condition "e.modpopup->get() == e.mb_menu[MBM_MISC_L]", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_true: Condition "r == -1 /* MEN_CANCEL */", taking true branch >yadex-1.7.0/src/editloop.cc:675: goto: Jumping to label "done2" >yadex-1.7.0/src/editloop.cc:2552: label: Reached label "done2" >yadex-1.7.0/src/editloop.cc:2555: cond_true: Condition "has_event(291 /* YE_ZOOM_CHANGED */)", taking true branch >yadex-1.7.0/src/editloop.cc:2555: cond_true: Condition "!e.grid_step_locked", taking true branch >yadex-1.7.0/src/editloop.cc:2562: cond_true: Condition "RedrawMap", taking true branch >yadex-1.7.0/src/editloop.cc:2564: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/editloop.cc:510: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/editloop.cc:510: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/editloop.cc:523: cond_false: Condition "e.highlighted()", taking false branch >yadex-1.7.0/src/editloop.cc:528: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:545: cond_true: Condition "has_key_press_event()", taking true branch >yadex-1.7.0/src/editloop.cc:550: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:556: cond_true: Condition "OrigX + (int)(((int)is.x - ScrCenterX) / Scale) != e.pointer_x", taking true branch >yadex-1.7.0/src/editloop.cc:577: cond_false: Condition "e.menubar->pulled_down() >= 0", taking false branch >yadex-1.7.0/src/editloop.cc:663: cond_true: Condition "e.modpopup->get() == e.mb_menu[MBM_MISC_L]", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_false: Condition "r == -1 /* MEN_CANCEL */", taking false branch >yadex-1.7.0/src/editloop.cc:671: cond_true: Condition "r == -3 /* MEN_INVALID */", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_true: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking true branch >yadex-1.7.0/src/editloop.cc:675: goto: Jumping to label "done2" >yadex-1.7.0/src/editloop.cc:2552: label: Reached label "done2" >yadex-1.7.0/src/editloop.cc:2555: cond_true: Condition "has_event(291 /* YE_ZOOM_CHANGED */)", taking true branch >yadex-1.7.0/src/editloop.cc:2555: cond_true: Condition "!e.grid_step_locked", taking true branch >yadex-1.7.0/src/editloop.cc:2562: cond_true: Condition "RedrawMap", taking true branch >yadex-1.7.0/src/editloop.cc:2564: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/editloop.cc:510: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/editloop.cc:510: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/editloop.cc:523: cond_false: Condition "e.highlighted()", taking false branch >yadex-1.7.0/src/editloop.cc:528: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:545: cond_true: Condition "has_key_press_event()", taking true branch >yadex-1.7.0/src/editloop.cc:550: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:556: cond_true: Condition "OrigX + (int)(((int)is.x - ScrCenterX) / Scale) != e.pointer_x", taking true branch >yadex-1.7.0/src/editloop.cc:577: cond_false: Condition "e.menubar->pulled_down() >= 0", taking false branch >yadex-1.7.0/src/editloop.cc:663: cond_true: Condition "e.modpopup->get() == e.mb_menu[MBM_MISC_L]", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_false: Condition "r == -1 /* MEN_CANCEL */", taking false branch >yadex-1.7.0/src/editloop.cc:671: cond_true: Condition "r == -3 /* MEN_INVALID */", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:680: cond_false: Condition "r == -2 /* MEN_OTHER */", taking false branch >yadex-1.7.0/src/editloop.cc:686: cond_true: Condition "r == -3 /* MEN_INVALID */", taking true branch >yadex-1.7.0/src/editloop.cc:687: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/editloop.cc:706: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:707: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/editloop.cc:870: cond_false: Condition "is.key == 279 /* YE_EXPOSE */", taking false branch >yadex-1.7.0/src/editloop.cc:876: cond_false: Condition "is.key == 278 /* YE_RESIZE */", taking false branch >yadex-1.7.0/src/editloop.cc:882: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:885: cond_false: Condition "e.modpopup->get() != NULL", taking false branch >yadex-1.7.0/src/editloop.cc:897: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:913: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:933: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:957: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:972: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:994: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:1009: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:1025: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:1031: cond_true: Condition "is.key == 281 /* YE_BUTL_RELEASE */", taking true branch >yadex-1.7.0/src/editloop.cc:1031: cond_true: Condition "e.tool == TOOL_NORMAL", taking true branch >yadex-1.7.0/src/editloop.cc:1031: cond_true: Condition "e.clicked == CANVAS", taking true branch >yadex-1.7.0/src/editloop.cc:1040: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/editloop.cc:1101: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:1101: cond_true: Condition "!is.butl", taking true branch >yadex-1.7.0/src/editloop.cc:1101: cond_true: Condition "!is.shift", taking true branch >yadex-1.7.0/src/editloop.cc:1111: cond_true: Condition "(is.key & 8191 /* YK_SHIFT - 1 */) > 0", taking true branch >yadex-1.7.0/src/editloop.cc:1111: cond_false: Condition "(is.key & 8191 /* YK_SHIFT - 1 */) < 277 /* YK__LAST */", taking false branch >yadex-1.7.0/src/editloop.cc:1111: cond_false: Condition "is.key == 286 /* YE_WHEEL_UP */", taking false branch >yadex-1.7.0/src/editloop.cc:1111: cond_false: Condition "is.key == 287 /* YE_WHEEL_DOWN */", taking false branch >yadex-1.7.0/src/editloop.cc:2462: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:2478: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:2478: cond_true: Condition "autoscroll", taking true branch >yadex-1.7.0/src/editloop.cc:2478: cond_true: Condition "!is.scroll_lock", taking true branch >yadex-1.7.0/src/editloop.cc:2478: cond_true: Condition "e.menubar->pulled_down() < 0", taking true branch >yadex-1.7.0/src/editloop.cc:2494: cond_true: Condition "distance <= autoscroll_edge", taking true branch >yadex-1.7.0/src/editloop.cc:2494: cond_false: Condition "e.menubar->is_under_menubar_item(is.x) < 0", taking false branch >yadex-1.7.0/src/editloop.cc:2504: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:2507: cond_true: Condition "distance <= autoscroll_edge", taking true branch >yadex-1.7.0/src/editloop.cc:2509: cond_false: Condition "false /* !1 */", taking false branch >yadex-1.7.0/src/editloop.cc:2511: cond_true: Condition "OrigY + (int)((ScrCenterY - (int)ScrCenterY) / Scale) > -20000", taking true branch >yadex-1.7.0/src/editloop.cc:2519: cond_true: Condition "distance <= autoscroll_edge", taking true branch >yadex-1.7.0/src/editloop.cc:2521: cond_false: Condition "false /* !1 */", taking false branch >yadex-1.7.0/src/editloop.cc:2523: cond_true: Condition "OrigX + (int)(((int)ScrCenterX - ScrCenterX) / Scale) > -20000", taking true branch >yadex-1.7.0/src/editloop.cc:2536: cond_true: Condition "distance <= autoscroll_edge", taking true branch >yadex-1.7.0/src/editloop.cc:2536: cond_true: Condition "(unsigned int)is.y >= 3 * FONTH", taking true branch >yadex-1.7.0/src/editloop.cc:2538: cond_false: Condition "false /* !1 */", taking false branch >yadex-1.7.0/src/editloop.cc:2540: cond_true: Condition "OrigX + (int)(((int)ScrCenterX - ScrCenterX) / Scale) < 20000", taking true branch >yadex-1.7.0/src/editloop.cc:2555: cond_true: Condition "has_event(291 /* YE_ZOOM_CHANGED */)", taking true branch >yadex-1.7.0/src/editloop.cc:2555: cond_true: Condition "!e.grid_step_locked", taking true branch >yadex-1.7.0/src/editloop.cc:2562: cond_true: Condition "RedrawMap", taking true branch >yadex-1.7.0/src/editloop.cc:2564: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/editloop.cc:510: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/editloop.cc:510: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/editloop.cc:523: cond_true: Condition "e.highlighted()", taking true branch >yadex-1.7.0/src/editloop.cc:528: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:545: cond_true: Condition "has_key_press_event()", taking true branch >yadex-1.7.0/src/editloop.cc:550: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:556: cond_true: Condition "OrigX + (int)(((int)is.x - ScrCenterX) / Scale) != e.pointer_x", taking true branch >yadex-1.7.0/src/editloop.cc:577: cond_false: Condition "e.menubar->pulled_down() >= 0", taking false branch >yadex-1.7.0/src/editloop.cc:663: cond_true: Condition "e.modpopup->get() == e.mb_menu[MBM_MISC_L]", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_false: Condition "r == -1 /* MEN_CANCEL */", taking false branch >yadex-1.7.0/src/editloop.cc:671: cond_true: Condition "r == -3 /* MEN_INVALID */", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:680: cond_false: Condition "r == -2 /* MEN_OTHER */", taking false branch >yadex-1.7.0/src/editloop.cc:686: cond_true: Condition "r == -3 /* MEN_INVALID */", taking true branch >yadex-1.7.0/src/editloop.cc:687: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/editloop.cc:706: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:707: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/editloop.cc:870: cond_false: Condition "is.key == 279 /* YE_EXPOSE */", taking false branch >yadex-1.7.0/src/editloop.cc:876: cond_false: Condition "is.key == 278 /* YE_RESIZE */", taking false branch >yadex-1.7.0/src/editloop.cc:882: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:885: cond_false: Condition "e.modpopup->get() != NULL", taking false branch >yadex-1.7.0/src/editloop.cc:897: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:913: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:933: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:957: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:972: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:994: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:1009: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:1025: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:1031: cond_true: Condition "is.key == 281 /* YE_BUTL_RELEASE */", taking true branch >yadex-1.7.0/src/editloop.cc:1031: cond_true: Condition "e.tool == TOOL_NORMAL", taking true branch >yadex-1.7.0/src/editloop.cc:1031: cond_true: Condition "e.clicked == CANVAS", taking true branch >yadex-1.7.0/src/editloop.cc:1040: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/editloop.cc:1101: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:1101: cond_true: Condition "!is.butl", taking true branch >yadex-1.7.0/src/editloop.cc:1101: cond_true: Condition "!is.shift", taking true branch >yadex-1.7.0/src/editloop.cc:1111: cond_true: Condition "(is.key & 8191 /* YK_SHIFT - 1 */) > 0", taking true branch >yadex-1.7.0/src/editloop.cc:1111: cond_false: Condition "(is.key & 8191 /* YK_SHIFT - 1 */) < 277 /* YK__LAST */", taking false branch >yadex-1.7.0/src/editloop.cc:1111: cond_false: Condition "is.key == 286 /* YE_WHEEL_UP */", taking false branch >yadex-1.7.0/src/editloop.cc:1111: cond_false: Condition "is.key == 287 /* YE_WHEEL_DOWN */", taking false branch >yadex-1.7.0/src/editloop.cc:2462: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:2478: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:2478: cond_true: Condition "autoscroll", taking true branch >yadex-1.7.0/src/editloop.cc:2478: cond_true: Condition "!is.scroll_lock", taking true branch >yadex-1.7.0/src/editloop.cc:2478: cond_true: Condition "e.menubar->pulled_down() < 0", taking true branch >yadex-1.7.0/src/editloop.cc:2494: cond_true: Condition "distance <= autoscroll_edge", taking true branch >yadex-1.7.0/src/editloop.cc:2494: cond_true: Condition "e.menubar->is_under_menubar_item(is.x) < 0", taking true branch >yadex-1.7.0/src/editloop.cc:2497: cond_false: Condition "false /* !1 */", taking false branch >yadex-1.7.0/src/editloop.cc:2499: cond_true: Condition "OrigY + (int)((ScrCenterY - (int)ScrCenterY) / Scale) < 20000", taking true branch >yadex-1.7.0/src/editloop.cc:2507: cond_true: Condition "distance <= autoscroll_edge", taking true branch >yadex-1.7.0/src/editloop.cc:2509: cond_false: Condition "false /* !1 */", taking false branch >yadex-1.7.0/src/editloop.cc:2511: cond_true: Condition "OrigY + (int)((ScrCenterY - (int)ScrCenterY) / Scale) > -20000", taking true branch >yadex-1.7.0/src/editloop.cc:2519: cond_true: Condition "distance <= autoscroll_edge", taking true branch >yadex-1.7.0/src/editloop.cc:2521: cond_false: Condition "false /* !1 */", taking false branch >yadex-1.7.0/src/editloop.cc:2523: cond_true: Condition "OrigX + (int)(((int)ScrCenterX - ScrCenterX) / Scale) > -20000", taking true branch >yadex-1.7.0/src/editloop.cc:2536: cond_true: Condition "distance <= autoscroll_edge", taking true branch >yadex-1.7.0/src/editloop.cc:2536: cond_true: Condition "(unsigned int)is.y >= 3 * FONTH", taking true branch >yadex-1.7.0/src/editloop.cc:2538: cond_false: Condition "false /* !1 */", taking false branch >yadex-1.7.0/src/editloop.cc:2540: cond_true: Condition "OrigX + (int)(((int)ScrCenterX - ScrCenterX) / Scale) < 20000", taking true branch >yadex-1.7.0/src/editloop.cc:2555: cond_true: Condition "has_event(291 /* YE_ZOOM_CHANGED */)", taking true branch >yadex-1.7.0/src/editloop.cc:2555: cond_true: Condition "!e.grid_step_locked", taking true branch >yadex-1.7.0/src/editloop.cc:2562: cond_true: Condition "RedrawMap", taking true branch >yadex-1.7.0/src/editloop.cc:2564: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/editloop.cc:510: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/editloop.cc:510: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/editloop.cc:523: cond_true: Condition "e.highlighted()", taking true branch >yadex-1.7.0/src/editloop.cc:528: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:545: cond_true: Condition "has_key_press_event()", taking true branch >yadex-1.7.0/src/editloop.cc:550: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:556: cond_true: Condition "OrigX + (int)(((int)is.x - ScrCenterX) / Scale) != e.pointer_x", taking true branch >yadex-1.7.0/src/editloop.cc:577: cond_false: Condition "e.menubar->pulled_down() >= 0", taking false branch >yadex-1.7.0/src/editloop.cc:663: cond_true: Condition "e.modpopup->get() == e.mb_menu[MBM_MISC_L]", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_false: Condition "r == -1 /* MEN_CANCEL */", taking false branch >yadex-1.7.0/src/editloop.cc:671: cond_true: Condition "r == -3 /* MEN_INVALID */", taking true branch >yadex-1.7.0/src/editloop.cc:671: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:680: cond_false: Condition "r == -2 /* MEN_OTHER */", taking false branch >yadex-1.7.0/src/editloop.cc:686: cond_true: Condition "r == -3 /* MEN_INVALID */", taking true branch >yadex-1.7.0/src/editloop.cc:687: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/editloop.cc:706: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:707: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/editloop.cc:870: cond_false: Condition "is.key == 279 /* YE_EXPOSE */", taking false branch >yadex-1.7.0/src/editloop.cc:876: cond_false: Condition "is.key == 278 /* YE_RESIZE */", taking false branch >yadex-1.7.0/src/editloop.cc:882: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:885: cond_false: Condition "e.modpopup->get() != NULL", taking false branch >yadex-1.7.0/src/editloop.cc:897: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:913: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:933: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:957: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:972: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:994: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:1009: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:1025: cond_false: Condition "is.key == 280 /* YE_BUTL_PRESS */", taking false branch >yadex-1.7.0/src/editloop.cc:1031: cond_false: Condition "is.key == 281 /* YE_BUTL_RELEASE */", taking false branch >yadex-1.7.0/src/editloop.cc:1044: cond_false: Condition "is.key == 281 /* YE_BUTL_RELEASE */", taking false branch >yadex-1.7.0/src/editloop.cc:1055: cond_false: Condition "is.key == 290 /* YE_MOTION */", taking false branch >yadex-1.7.0/src/editloop.cc:1069: cond_false: Condition "is.key == 290 /* YE_MOTION */", taking false branch >yadex-1.7.0/src/editloop.cc:1069: cond_true: Condition "motion", taking true branch >yadex-1.7.0/src/editloop.cc:1069: cond_true: Condition "e.tool == TOOL_NORMAL", taking true branch >yadex-1.7.0/src/editloop.cc:1069: cond_false: Condition "is.butl", taking false branch >yadex-1.7.0/src/editloop.cc:1080: cond_true: Condition "motion", taking true branch >yadex-1.7.0/src/editloop.cc:1080: cond_true: Condition "e.tool == TOOL_NORMAL", taking true branch >yadex-1.7.0/src/editloop.cc:1080: cond_false: Condition "is.butl", taking false branch >yadex-1.7.0/src/editloop.cc:1098: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:1101: cond_true: Condition "is.in_window", taking true branch >yadex-1.7.0/src/editloop.cc:1101: cond_true: Condition "!is.butl", taking true branch >yadex-1.7.0/src/editloop.cc:1101: cond_true: Condition "!is.shift", taking true branch >yadex-1.7.0/src/editloop.cc:1111: cond_true: Condition "(is.key & 8191 /* YK_SHIFT - 1 */) > 0", taking true branch >yadex-1.7.0/src/editloop.cc:1111: cond_true: Condition "(is.key & 8191 /* YK_SHIFT - 1 */) < 277 /* YK__LAST */", taking true branch >yadex-1.7.0/src/editloop.cc:1115: cond_false: Condition "is.key == 272 /* YK_LEFT */", taking false branch >yadex-1.7.0/src/editloop.cc:1124: cond_false: Condition "is.key == 275 /* YK_RIGHT */", taking false branch >yadex-1.7.0/src/editloop.cc:1133: cond_false: Condition "is.key == 32870 /* YK_ALT + 'f' */", taking false branch >yadex-1.7.0/src/editloop.cc:1136: cond_false: Condition "is.key == 32869 /* YK_ALT + 'e' */", taking false branch >yadex-1.7.0/src/editloop.cc:1139: cond_false: Condition "is.key == 32883 /* YK_ALT + 's' */", taking false branch >yadex-1.7.0/src/editloop.cc:1142: cond_false: Condition "is.key == 32886 /* YK_ALT + 'v' */", taking false branch >yadex-1.7.0/src/editloop.cc:1145: cond_false: Condition "is.key == 32877 /* YK_ALT + 'm' */", taking false branch >yadex-1.7.0/src/editloop.cc:1148: cond_false: Condition "is.key == 32879 /* YK_ALT + 'o' */", taking false branch >yadex-1.7.0/src/editloop.cc:1151: cond_false: Condition "is.key == 32867 /* YK_ALT + 'c' */", taking false branch >yadex-1.7.0/src/editloop.cc:1154: cond_false: Condition "is.key == 32872 /* YK_ALT + 'h' */", taking false branch >yadex-1.7.0/src/editloop.cc:1159: cond_false: Condition "is.key == '\f'", taking false branch >yadex-1.7.0/src/editloop.cc:1165: cond_false: Condition "is.key == 27 /* YK_ESC */", taking false branch >yadex-1.7.0/src/editloop.cc:1165: cond_false: Condition "is.key == 'q'", taking false branch >yadex-1.7.0/src/editloop.cc:1183: cond_false: Condition "is.key == 260 /* YK_F1 */", taking false branch >yadex-1.7.0/src/editloop.cc:1190: cond_false: Condition "is.key == 32865 /* YK_ALT + 'a' */", taking false branch >yadex-1.7.0/src/editloop.cc:1198: cond_false: Condition "is.key == 8452 /* YK_F1 + YK_SHIFT */", taking false branch >yadex-1.7.0/src/editloop.cc:1207: cond_false: Condition "is.key == 8453 /* YK_F2 + YK_SHIFT */", taking false branch >yadex-1.7.0/src/editloop.cc:1226: cond_false: Condition "is.key == 261 /* YK_F2 */", taking false branch >yadex-1.7.0/src/editloop.cc:1253: cond_false: Condition "is.key == 262 /* YK_F3 */", taking false branch >yadex-1.7.0/src/editloop.cc:1303: cond_false: Condition "is.key == 264 /* YK_F5 */", taking false branch >yadex-1.7.0/src/editloop.cc:1311: cond_false: Condition "is.key == 'a'", taking false branch >yadex-1.7.0/src/editloop.cc:1329: cond_false: Condition "is.key == 'b'", taking false branch >yadex-1.7.0/src/editloop.cc:1347: cond_false: Condition "is.key == 'c'", taking false branch >yadex-1.7.0/src/editloop.cc:1365: cond_false: Condition "is.key == 'M'", taking false branch >yadex-1.7.0/src/editloop.cc:1372: cond_false: Condition "is.key == 268 /* YK_F9 */", taking false branch >yadex-1.7.0/src/editloop.cc:1379: cond_false: Condition "is.key == 269 /* YK_F10 */", taking false branch >yadex-1.7.0/src/editloop.cc:1387: cond_false: Condition "is.key == 32873 /* YK_ALT + 'i' */", taking false branch >yadex-1.7.0/src/editloop.cc:1394: cond_false: Condition "is.key == 'i'", taking false branch >yadex-1.7.0/src/editloop.cc:1401: cond_false: Condition "is.key == '+'", taking false branch >yadex-1.7.0/src/editloop.cc:1401: cond_false: Condition "is.key == '='", taking false branch >yadex-1.7.0/src/editloop.cc:1401: cond_false: Condition "is.key == 286 /* YE_WHEEL_UP */", taking false branch >yadex-1.7.0/src/editloop.cc:1409: cond_false: Condition "is.key == '-'", taking false branch >yadex-1.7.0/src/editloop.cc:1409: cond_false: Condition "is.key == '_'", taking false branch >yadex-1.7.0/src/editloop.cc:1409: cond_false: Condition "is.key == 287 /* YE_WHEEL_DOWN */", taking false branch >yadex-1.7.0/src/editloop.cc:1417: cond_true: Condition "is.key >= '0'", taking true branch >yadex-1.7.0/src/editloop.cc:1417: cond_true: Condition "is.key <= '9'", taking true branch >yadex-1.7.0/src/editloop.cc:1419: negative_return_fn: Function "dectoi(is.key)" returns a negative number. >yadex-1.7.0/src/aym.h:77:3: cond_false: Condition "isdigit((unsigned char)c)", taking false branch >yadex-1.7.0/src/aym.h:80:5: return_negative_constant: Explicitly returning negative value "-1". >yadex-1.7.0/src/editloop.cc:1419: negative_returns: Using variable "dectoi(is.key)" as an index to array "digit_zoom_factors". > >Error: OVERRUN: >yadex-1.7.0/src/drawmap.cc:187: cond_false: Condition "!e->grid_shown", taking false branch >yadex-1.7.0/src/drawmap.cc:203: cond_true: Condition "mapx0_2 < mapx0", taking true branch >yadex-1.7.0/src/drawmap.cc:205: cond_true: Condition "i <= mapx1", taking true branch >yadex-1.7.0/src/drawmap.cc:206: cond_true: Condition "i % grid_step_3 != 0", taking true branch >yadex-1.7.0/src/drawmap.cc:205: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/drawmap.cc:205: cond_false: Condition "i <= mapx1", taking false branch >yadex-1.7.0/src/drawmap.cc:213: cond_true: Condition "mapy0_2 < mapy0", taking true branch >yadex-1.7.0/src/drawmap.cc:215: cond_true: Condition "j <= mapy1", taking true branch >yadex-1.7.0/src/drawmap.cc:216: cond_true: Condition "j % grid_step_3 != 0", taking true branch >yadex-1.7.0/src/drawmap.cc:215: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/drawmap.cc:215: cond_false: Condition "j <= mapy1", taking false branch >yadex-1.7.0/src/drawmap.cc:223: cond_true: Condition "mapx0_3 < mapx0", taking true branch >yadex-1.7.0/src/drawmap.cc:225: cond_true: Condition "i <= mapx1", taking true branch >yadex-1.7.0/src/drawmap.cc:226: cond_true: Condition "i % grid_step_4 != 0", taking true branch >yadex-1.7.0/src/drawmap.cc:225: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/drawmap.cc:225: cond_false: Condition "i <= mapx1", taking false branch >yadex-1.7.0/src/drawmap.cc:233: cond_true: Condition "mapy0_3 < mapy0", taking true branch >yadex-1.7.0/src/drawmap.cc:235: cond_true: Condition "j <= mapy1", taking true branch >yadex-1.7.0/src/drawmap.cc:236: cond_true: Condition "j % grid_step_4 != 0", taking true branch >yadex-1.7.0/src/drawmap.cc:235: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/drawmap.cc:235: cond_false: Condition "j <= mapy1", taking false branch >yadex-1.7.0/src/drawmap.cc:243: cond_true: Condition "mapx0_4 < mapx0", taking true branch >yadex-1.7.0/src/drawmap.cc:246: cond_true: Condition "i <= mapx1", taking true branch >yadex-1.7.0/src/drawmap.cc:246: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/drawmap.cc:246: cond_false: Condition "i <= mapx1", taking false branch >yadex-1.7.0/src/drawmap.cc:253: cond_true: Condition "mapy0_4 < mapy0", taking true branch >yadex-1.7.0/src/drawmap.cc:255: cond_true: Condition "j <= mapy1", taking true branch >yadex-1.7.0/src/drawmap.cc:255: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/drawmap.cc:255: cond_false: Condition "j <= mapy1", taking false branch >yadex-1.7.0/src/drawmap.cc:261: cond_true: Condition "mapx0_1 < mapx0", taking true branch >yadex-1.7.0/src/drawmap.cc:264: cond_true: Condition "mapy0_1 < mapy0", taking true branch >yadex-1.7.0/src/drawmap.cc:270: buffer_alloc: Calling allocating function "malloc(size_t)" which allocated memory dictated by argument "npoints * 4UL". >yadex-1.7.0/src/drawmap.cc:270: var_assign: Assigning: "points" = "malloc(npoints * 4UL)". >yadex-1.7.0/src/drawmap.cc:274: cond_true: Condition "i <= mapx1", taking true branch >yadex-1.7.0/src/drawmap.cc:276: cond_true: Condition "n >= npoints", taking true branch >yadex-1.7.0/src/drawmap.cc:276: symbolic_compare: Tracking "n" since "npoints" is tracked with "points". >yadex-1.7.0/src/drawmap.cc:278: overrun-local: Overrunning dynamic array "points" at offset corresponding to index variable "n". > >Error: RESOURCE_LEAK (CWE-404): >yadex-1.7.0/src/s_split.cc:61: cond_false: Condition "s < 0", taking false branch >yadex-1.7.0/src/s_split.cc:68: if_end: End of if statement >yadex-1.7.0/src/s_split.cc:75: alloc_arg: "linedefs_of_sector(obj_no_t, obj_no_t *&)" allocates memory that is stored into "ld_numbers". >yadex-1.7.0/src/s_linedefs.cc:88:1: cond_true: Condition "n < NumLineDefs", taking true branch >yadex-1.7.0/src/s_linedefs.cc:89:4: cond_true: Condition "(LineDefs + n).sidedef1 >= 0", taking true branch >yadex-1.7.0/src/s_linedefs.cc:89:4: cond_true: Condition "(LineDefs + n).sidedef1 < NumSideDefs", taking true branch >yadex-1.7.0/src/s_linedefs.cc:89:4: cond_true: Condition "(SideDefs + (LineDefs + n).sidedef1).sector == s", taking true branch >yadex-1.7.0/src/s_linedefs.cc:88:1: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/s_linedefs.cc:88:1: cond_true: Condition "n < NumLineDefs", taking true branch >yadex-1.7.0/src/s_linedefs.cc:89:4: cond_true: Condition "(LineDefs + n).sidedef1 >= 0", taking true branch >yadex-1.7.0/src/s_linedefs.cc:89:4: cond_true: Condition "(LineDefs + n).sidedef1 < NumSideDefs", taking true branch >yadex-1.7.0/src/s_linedefs.cc:89:4: cond_true: Condition "(SideDefs + (LineDefs + n).sidedef1).sector == s", taking true branch >yadex-1.7.0/src/s_linedefs.cc:88:1: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/s_linedefs.cc:88:1: cond_true: Condition "n < NumLineDefs", taking true branch >yadex-1.7.0/src/s_linedefs.cc:89:4: cond_true: Condition "(LineDefs + n).sidedef1 >= 0", taking true branch >yadex-1.7.0/src/s_linedefs.cc:89:4: cond_true: Condition "(LineDefs + n).sidedef1 < NumSideDefs", taking true branch >yadex-1.7.0/src/s_linedefs.cc:89:4: cond_false: Condition "(SideDefs + (LineDefs + n).sidedef1).sector == s", taking false branch >yadex-1.7.0/src/s_linedefs.cc:89:4: cond_false: Condition "(LineDefs + n).sidedef2 >= 0", taking false branch >yadex-1.7.0/src/s_linedefs.cc:88:1: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/s_linedefs.cc:88:1: cond_true: Condition "n < NumLineDefs", taking true branch >yadex-1.7.0/src/s_linedefs.cc:89:4: cond_false: Condition "(LineDefs + n).sidedef1 >= 0", taking false branch >yadex-1.7.0/src/s_linedefs.cc:89:4: cond_true: Condition "(LineDefs + n).sidedef2 >= 0", taking true branch >yadex-1.7.0/src/s_linedefs.cc:89:4: cond_true: Condition "(LineDefs + n).sidedef2 < NumSideDefs", taking true branch >yadex-1.7.0/src/s_linedefs.cc:89:4: cond_true: Condition "(SideDefs + (LineDefs + n).sidedef2).sector == s", taking true branch >yadex-1.7.0/src/s_linedefs.cc:88:1: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/s_linedefs.cc:88:1: cond_false: Condition "n < NumLineDefs", taking false branch >yadex-1.7.0/src/s_linedefs.cc:94:1: cond_true: Condition "count > 0", taking true branch >yadex-1.7.0/src/s_linedefs.cc:96:4: alloc_fn: Storage is returned from allocation function "operator new[](unsigned long)". >yadex-1.7.0/src/s_linedefs.cc:96:4: var_assign: Assigning: "array" = "new obj_no_t[count]". >yadex-1.7.0/src/s_linedefs.cc:98:4: cond_true: Condition "n < NumLineDefs", taking true branch >yadex-1.7.0/src/s_linedefs.cc:99:7: cond_true: Condition "(LineDefs + n).sidedef1 >= 0", taking true branch >yadex-1.7.0/src/s_linedefs.cc:99:7: cond_true: Condition "(LineDefs + n).sidedef1 < NumSideDefs", taking true branch >yadex-1.7.0/src/s_linedefs.cc:99:7: cond_true: Condition "(SideDefs + (LineDefs + n).sidedef1).sector == s", taking true branch >yadex-1.7.0/src/s_linedefs.cc:98:4: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/s_linedefs.cc:98:4: cond_true: Condition "n < NumLineDefs", taking true branch >yadex-1.7.0/src/s_linedefs.cc:99:7: cond_true: Condition "(LineDefs + n).sidedef1 >= 0", taking true branch >yadex-1.7.0/src/s_linedefs.cc:99:7: cond_true: Condition "(LineDefs + n).sidedef1 < NumSideDefs", taking true branch >yadex-1.7.0/src/s_linedefs.cc:99:7: cond_true: Condition "(SideDefs + (LineDefs + n).sidedef1).sector == s", taking true branch >yadex-1.7.0/src/s_linedefs.cc:98:4: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/s_linedefs.cc:98:4: cond_true: Condition "n < NumLineDefs", taking true branch >yadex-1.7.0/src/s_linedefs.cc:99:7: cond_true: Condition "(LineDefs + n).sidedef1 >= 0", taking true branch >yadex-1.7.0/src/s_linedefs.cc:99:7: cond_true: Condition "(LineDefs + n).sidedef1 < NumSideDefs", taking true branch >yadex-1.7.0/src/s_linedefs.cc:99:7: cond_false: Condition "(SideDefs + (LineDefs + n).sidedef1).sector == s", taking false branch >yadex-1.7.0/src/s_linedefs.cc:99:7: cond_false: Condition "(LineDefs + n).sidedef2 >= 0", taking false branch >yadex-1.7.0/src/s_linedefs.cc:98:4: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/s_linedefs.cc:98:4: cond_true: Condition "n < NumLineDefs", taking true branch >yadex-1.7.0/src/s_linedefs.cc:99:7: cond_false: Condition "(LineDefs + n).sidedef1 >= 0", taking false branch >yadex-1.7.0/src/s_linedefs.cc:99:7: cond_true: Condition "(LineDefs + n).sidedef2 >= 0", taking true branch >yadex-1.7.0/src/s_linedefs.cc:99:7: cond_true: Condition "(LineDefs + n).sidedef2 < NumSideDefs", taking true branch >yadex-1.7.0/src/s_linedefs.cc:99:7: cond_true: Condition "(SideDefs + (LineDefs + n).sidedef2).sector == s", taking true branch >yadex-1.7.0/src/s_linedefs.cc:98:4: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/s_linedefs.cc:98:4: cond_false: Condition "n < NumLineDefs", taking false branch >yadex-1.7.0/src/s_split.cc:76: cond_true: Condition "nlinedefs < 1", taking true branch >yadex-1.7.0/src/s_split.cc:79: leaked_storage: Variable "ld_numbers" going out of scope leaks the storage it points to. > >Error: RESOURCE_LEAK (CWE-404): >yadex-1.7.0/src/palview.cc:67: alloc_fn: Storage is returned from allocation function "operator new[](unsigned long)". >yadex-1.7.0/src/palview.cc:67: var_assign: Assigning: "playpal" = storage returned from "new rgb_c[256UL]". >yadex-1.7.0/src/palview.cc:68: cond_true: Condition "n < 256UL /* DOOM_COLOURS */", taking true branch >yadex-1.7.0/src/palview.cc:69: noescape: Resource "playpal + n" is not freed or pointed-to in function "rgb_c::set(u8, u8, u8)". >yadex-1.7.0/src/rgb.h:42:12: noescape: "rgb_c::set(u8, u8, u8)" does not free or save its pointer parameter "this". >yadex-1.7.0/src/palview.cc:68: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/palview.cc:68: cond_true: Condition "n < 256UL /* DOOM_COLOURS */", taking true branch >yadex-1.7.0/src/palview.cc:69: noescape: Resource "playpal + n" is not freed or pointed-to in function "rgb_c::set(u8, u8, u8)". >yadex-1.7.0/src/rgb.h:42:12: noescape: "rgb_c::set(u8, u8, u8)" does not free or save its pointer parameter "this". >yadex-1.7.0/src/palview.cc:68: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/palview.cc:68: cond_false: Condition "n < 256UL /* DOOM_COLOURS */", taking false branch >yadex-1.7.0/src/palview.cc:72: cond_false: Condition "dir == NULL", taking false branch >yadex-1.7.0/src/palview.cc:76: if_end: End of if statement >yadex-1.7.0/src/palview.cc:78: cond_true: Condition "dir->dir.size % (768UL /* 3 * DOOM_COLOURS */) != 0", taking true branch >yadex-1.7.0/src/palview.cc:84: cond_false: Condition "wf->error()", taking false branch >yadex-1.7.0/src/palview.cc:88: if_end: End of if statement >yadex-1.7.0/src/palview.cc:89: overwrite_var: Overwriting "playpal" in "playpal = new rgb_c[256UL]" leaks the storage that "playpal" points to. > >Error: RESOURCE_LEAK (CWE-404): >yadex-1.7.0/src/editloop.cc:124: cond_true: Condition "dir", taking true branch >yadex-1.7.0/src/editloop.cc:126: cond_true: Condition "levelname2levelno(dir->dir.name) > 0", taking true branch >yadex-1.7.0/src/editloop.cc:126: cond_true: Condition "levelno == 0", taking true branch >yadex-1.7.0/src/editloop.cc:129: cond_true: Condition "n == 0", taking true branch >yadex-1.7.0/src/editloop.cc:130: alloc_fn: Storage is returned from allocation function "GetMemory(unsigned long)". >yadex-1.7.0/src/memory.cc:61:1: cond_false: Condition "size != (size_t)size", taking false branch >yadex-1.7.0/src/memory.cc:65:1: cond_true: Condition "size >= 1024", taking true branch >yadex-1.7.0/src/memory.cc:67:1: alloc_fn: Storage is returned from allocation function "malloc(size_t)". >yadex-1.7.0/src/memory.cc:67:1: var_assign: Assigning: "ret" = "malloc((size_t)size)". >yadex-1.7.0/src/memory.cc:68:1: cond_false: Condition "!ret", taking false branch >yadex-1.7.0/src/memory.cc:73:4: if_end: End of if statement >yadex-1.7.0/src/memory.cc:74:1: cond_false: Condition "!ret", taking false branch >yadex-1.7.0/src/memory.cc:76:1: return_alloc: Returning allocated memory "ret". >yadex-1.7.0/src/editloop.cc:130: var_assign: Assigning: "levels" = storage returned from "GetMemory(8UL)". >yadex-1.7.0/src/editloop.cc:136: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/editloop.cc:124: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/editloop.cc:124: cond_false: Condition "dir", taking false branch >yadex-1.7.0/src/editloop.cc:136: loop_end: Reached end of loop >yadex-1.7.0/src/editloop.cc:137: cond_false: Condition "n == 0", taking false branch >yadex-1.7.0/src/editloop.cc:141: if_end: End of if statement >yadex-1.7.0/src/editloop.cc:144: noescape: Resource "levels" is not freed or pointed-to in function "qsort(void *, size_t, size_t, __compar_fn_t)". >yadex-1.7.0/src/editloop.cc:146: cond_true: Condition "n == 1", taking true branch >yadex-1.7.0/src/editloop.cc:147: leaked_storage: Variable "levels" going out of scope leaks the storage it points to. > >Error: RESOURCE_LEAK (CWE-404): >yadex-1.7.0/src/cfgfile.cc:687: cond_false: Condition "cfgfile == NULL", taking false branch >yadex-1.7.0/src/cfgfile.cc:691: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:695: cond_false: Condition "fgets(line, 1024 /* sizeof (line) */, cfgfile) == NULL", taking false branch >yadex-1.7.0/src/cfgfile.cc:695: cond_true: Condition "memcmp(line, config_file_magic, 36UL /* sizeof (config_file_magic) - 1 */)", taking true branch >yadex-1.7.0/src/cfgfile.cc:700: cond_false: Condition "flags & CFG_PARSE_MAGIC_ERROR", taking false branch >yadex-1.7.0/src/cfgfile.cc:705: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:706: cond_true: Condition "flags & CFG_PARSE_MAGIC_WARN", taking true branch >yadex-1.7.0/src/cfgfile.cc:713: cond_true: Condition "fgets(line, 1024 /* sizeof (line) */, cfgfile) != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:720: cond_false: Condition "isspace(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:724: cond_true: Condition "*p == '#'", taking true branch >yadex-1.7.0/src/cfgfile.cc:725: continue: Continuing loop >yadex-1.7.0/src/cfgfile.cc:713: cond_true: Condition "fgets(line, 1024 /* sizeof (line) */, cfgfile) != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:720: cond_true: Condition "isspace(*p)", taking true branch >yadex-1.7.0/src/cfgfile.cc:720: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:720: cond_false: Condition "isspace(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:724: cond_true: Condition "*p == '#'", taking true branch >yadex-1.7.0/src/cfgfile.cc:725: continue: Continuing loop >yadex-1.7.0/src/cfgfile.cc:713: cond_true: Condition "fgets(line, 1024 /* sizeof (line) */, cfgfile) != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:720: cond_false: Condition "isspace(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:724: cond_false: Condition "*p == '#'", taking false branch >yadex-1.7.0/src/cfgfile.cc:730: cond_true: Condition "len >= 1", taking true branch >yadex-1.7.0/src/cfgfile.cc:730: cond_true: Condition "p[len - 1] == '\n'", taking true branch >yadex-1.7.0/src/cfgfile.cc:735: cond_false: Condition "*p == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:740: cond_false: Condition "y_isident(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:742: cond_false: Condition "*p == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:754: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:755: cond_true: Condition "*p == '='", taking true branch >yadex-1.7.0/src/cfgfile.cc:759: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/cfgfile.cc:783: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:789: cond_false: Condition "isspace((unsigned char)*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:794: cond_true: Condition "*p2 != '\0'", taking true branch >yadex-1.7.0/src/cfgfile.cc:794: cond_true: Condition "!isspace(*p2)", taking true branch >yadex-1.7.0/src/cfgfile.cc:794: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:794: cond_false: Condition "*p2 != '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:796: cond_false: Condition "*p2 != '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:805: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:809: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/cfgfile.cc:811: cond_true: Condition "o->opt_type == OPT_END", taking true branch >yadex-1.7.0/src/cfgfile.cc:813: cond_false: Condition "flags & CFG_PARSE_ANAL_NAME", taking false branch >yadex-1.7.0/src/cfgfile.cc:819: else_branch: Reached else branch >yadex-1.7.0/src/cfgfile.cc:822: goto: Jumping to label "next_line" >yadex-1.7.0/src/cfgfile.cc:973: label: Reached label "next_line" >yadex-1.7.0/src/cfgfile.cc:713: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:713: cond_true: Condition "fgets(line, 1024 /* sizeof (line) */, cfgfile) != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:720: cond_false: Condition "isspace(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:724: cond_false: Condition "*p == '#'", taking false branch >yadex-1.7.0/src/cfgfile.cc:730: cond_true: Condition "len >= 1", taking true branch >yadex-1.7.0/src/cfgfile.cc:730: cond_true: Condition "p[len - 1] == '\n'", taking true branch >yadex-1.7.0/src/cfgfile.cc:735: cond_false: Condition "*p == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:740: cond_false: Condition "y_isident(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:742: cond_false: Condition "*p == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:754: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:755: cond_true: Condition "*p == '='", taking true branch >yadex-1.7.0/src/cfgfile.cc:759: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/cfgfile.cc:783: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:789: cond_false: Condition "isspace((unsigned char)*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:794: cond_true: Condition "*p2 != '\0'", taking true branch >yadex-1.7.0/src/cfgfile.cc:794: cond_true: Condition "!isspace(*p2)", taking true branch >yadex-1.7.0/src/cfgfile.cc:794: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:794: cond_false: Condition "*p2 != '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:796: cond_false: Condition "*p2 != '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:805: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:809: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/cfgfile.cc:811: cond_false: Condition "o->opt_type == OPT_END", taking false branch >yadex-1.7.0/src/cfgfile.cc:824: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:825: cond_false: Condition "!o->long_name", taking false branch >yadex-1.7.0/src/cfgfile.cc:825: cond_false: Condition "strcmp(name, o->long_name) != 0", taking false branch >yadex-1.7.0/src/cfgfile.cc:828: cond_true: Condition "o->flags != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:828: cond_false: Condition "strchr(o->flags, '1')", taking false branch >yadex-1.7.0/src/cfgfile.cc:831: cond_true: Condition "o->flags != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:831: cond_false: Condition "strchr(o->flags, 'b')", taking false branch >yadex-1.7.0/src/cfgfile.cc:838: switch: Switch case value "6" >yadex-1.7.0/src/cfgfile.cc:929: switch_case: Reached case "6" >yadex-1.7.0/src/cfgfile.cc:931: alloc_fn: Storage is returned from allocation function "GetMemory(unsigned long)". >yadex-1.7.0/src/memory.cc:61:1: cond_false: Condition "size != (size_t)size", taking false branch >yadex-1.7.0/src/memory.cc:65:1: cond_true: Condition "size >= 1024", taking true branch >yadex-1.7.0/src/memory.cc:67:1: alloc_fn: Storage is returned from allocation function "malloc(size_t)". >yadex-1.7.0/src/memory.cc:67:1: var_assign: Assigning: "ret" = "malloc((size_t)size)". >yadex-1.7.0/src/memory.cc:68:1: cond_false: Condition "!ret", taking false branch >yadex-1.7.0/src/memory.cc:73:4: if_end: End of if statement >yadex-1.7.0/src/memory.cc:74:1: cond_false: Condition "!ret", taking false branch >yadex-1.7.0/src/memory.cc:76:1: return_alloc: Returning allocated memory "ret". >yadex-1.7.0/src/cfgfile.cc:931: var_assign: Assigning: "dup" = storage returned from "GetMemory(strlen(value) + 1UL)". >yadex-1.7.0/src/cfgfile.cc:932: noescape: Resource "dup" is not freed or pointed-to in function "strcpy(char *, char const *)". >yadex-1.7.0/src/cfgfile.cc:933: cond_false: Condition "o->data_ptr", taking false branch >yadex-1.7.0/src/cfgfile.cc:935: break: Breaking from switch >yadex-1.7.0/src/cfgfile.cc:935: leaked_storage: Variable "dup" going out of scope leaks the storage it points to. > >Error: RESOURCE_LEAK (CWE-404): >yadex-1.7.0/src/cfgfile.cc:687: cond_false: Condition "cfgfile == NULL", taking false branch >yadex-1.7.0/src/cfgfile.cc:691: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:695: cond_false: Condition "fgets(line, 1024 /* sizeof (line) */, cfgfile) == NULL", taking false branch >yadex-1.7.0/src/cfgfile.cc:695: cond_true: Condition "memcmp(line, config_file_magic, 36UL /* sizeof (config_file_magic) - 1 */)", taking true branch >yadex-1.7.0/src/cfgfile.cc:700: cond_false: Condition "flags & CFG_PARSE_MAGIC_ERROR", taking false branch >yadex-1.7.0/src/cfgfile.cc:705: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:706: cond_true: Condition "flags & CFG_PARSE_MAGIC_WARN", taking true branch >yadex-1.7.0/src/cfgfile.cc:713: cond_true: Condition "fgets(line, 1024 /* sizeof (line) */, cfgfile) != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:720: cond_false: Condition "isspace(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:724: cond_true: Condition "*p == '#'", taking true branch >yadex-1.7.0/src/cfgfile.cc:725: continue: Continuing loop >yadex-1.7.0/src/cfgfile.cc:713: cond_true: Condition "fgets(line, 1024 /* sizeof (line) */, cfgfile) != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:720: cond_true: Condition "isspace(*p)", taking true branch >yadex-1.7.0/src/cfgfile.cc:720: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:720: cond_false: Condition "isspace(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:724: cond_true: Condition "*p == '#'", taking true branch >yadex-1.7.0/src/cfgfile.cc:725: continue: Continuing loop >yadex-1.7.0/src/cfgfile.cc:713: cond_true: Condition "fgets(line, 1024 /* sizeof (line) */, cfgfile) != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:720: cond_false: Condition "isspace(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:724: cond_false: Condition "*p == '#'", taking false branch >yadex-1.7.0/src/cfgfile.cc:730: cond_true: Condition "len >= 1", taking true branch >yadex-1.7.0/src/cfgfile.cc:730: cond_true: Condition "p[len - 1] == '\n'", taking true branch >yadex-1.7.0/src/cfgfile.cc:735: cond_false: Condition "*p == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:740: cond_false: Condition "y_isident(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:742: cond_false: Condition "*p == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:754: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:755: cond_true: Condition "*p == '='", taking true branch >yadex-1.7.0/src/cfgfile.cc:759: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/cfgfile.cc:783: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:789: cond_false: Condition "isspace((unsigned char)*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:794: cond_true: Condition "*p2 != '\0'", taking true branch >yadex-1.7.0/src/cfgfile.cc:794: cond_true: Condition "!isspace(*p2)", taking true branch >yadex-1.7.0/src/cfgfile.cc:794: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:794: cond_false: Condition "*p2 != '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:796: cond_false: Condition "*p2 != '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:805: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:809: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/cfgfile.cc:811: cond_true: Condition "o->opt_type == OPT_END", taking true branch >yadex-1.7.0/src/cfgfile.cc:813: cond_false: Condition "flags & CFG_PARSE_ANAL_NAME", taking false branch >yadex-1.7.0/src/cfgfile.cc:819: else_branch: Reached else branch >yadex-1.7.0/src/cfgfile.cc:822: goto: Jumping to label "next_line" >yadex-1.7.0/src/cfgfile.cc:973: label: Reached label "next_line" >yadex-1.7.0/src/cfgfile.cc:713: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:713: cond_true: Condition "fgets(line, 1024 /* sizeof (line) */, cfgfile) != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:720: cond_false: Condition "isspace(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:724: cond_false: Condition "*p == '#'", taking false branch >yadex-1.7.0/src/cfgfile.cc:730: cond_true: Condition "len >= 1", taking true branch >yadex-1.7.0/src/cfgfile.cc:730: cond_true: Condition "p[len - 1] == '\n'", taking true branch >yadex-1.7.0/src/cfgfile.cc:735: cond_false: Condition "*p == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:740: cond_false: Condition "y_isident(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:742: cond_false: Condition "*p == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:754: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:755: cond_true: Condition "*p == '='", taking true branch >yadex-1.7.0/src/cfgfile.cc:759: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/cfgfile.cc:783: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:789: cond_false: Condition "isspace((unsigned char)*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:794: cond_true: Condition "*p2 != '\0'", taking true branch >yadex-1.7.0/src/cfgfile.cc:794: cond_true: Condition "!isspace(*p2)", taking true branch >yadex-1.7.0/src/cfgfile.cc:794: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:794: cond_false: Condition "*p2 != '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:796: cond_false: Condition "*p2 != '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:805: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:809: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/cfgfile.cc:811: cond_false: Condition "o->opt_type == OPT_END", taking false branch >yadex-1.7.0/src/cfgfile.cc:824: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:825: cond_false: Condition "!o->long_name", taking false branch >yadex-1.7.0/src/cfgfile.cc:825: cond_false: Condition "strcmp(name, o->long_name) != 0", taking false branch >yadex-1.7.0/src/cfgfile.cc:828: cond_true: Condition "o->flags != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:828: cond_false: Condition "strchr(o->flags, '1')", taking false branch >yadex-1.7.0/src/cfgfile.cc:831: cond_true: Condition "o->flags != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:831: cond_false: Condition "strchr(o->flags, 'b')", taking false branch >yadex-1.7.0/src/cfgfile.cc:838: switch: Switch case value "7" >yadex-1.7.0/src/cfgfile.cc:938: switch_case: Reached case "7" >yadex-1.7.0/src/cfgfile.cc:940: alloc_fn: Storage is returned from allocation function "GetMemory(unsigned long)". >yadex-1.7.0/src/memory.cc:61:1: cond_false: Condition "size != (size_t)size", taking false branch >yadex-1.7.0/src/memory.cc:65:1: cond_true: Condition "size >= 1024", taking true branch >yadex-1.7.0/src/memory.cc:67:1: alloc_fn: Storage is returned from allocation function "malloc(size_t)". >yadex-1.7.0/src/memory.cc:67:1: var_assign: Assigning: "ret" = "malloc((size_t)size)". >yadex-1.7.0/src/memory.cc:68:1: cond_false: Condition "!ret", taking false branch >yadex-1.7.0/src/memory.cc:73:4: if_end: End of if statement >yadex-1.7.0/src/memory.cc:74:1: cond_false: Condition "!ret", taking false branch >yadex-1.7.0/src/memory.cc:76:1: return_alloc: Returning allocated memory "ret". >yadex-1.7.0/src/cfgfile.cc:940: var_assign: Assigning: "dup" = storage returned from "GetMemory(strlen(value) + 1UL)". >yadex-1.7.0/src/cfgfile.cc:941: noescape: Resource "dup" is not freed or pointed-to in function "strcpy(char *, char const *)". >yadex-1.7.0/src/cfgfile.cc:942: cond_false: Condition "o->data_ptr", taking false branch >yadex-1.7.0/src/cfgfile.cc:944: break: Breaking from switch >yadex-1.7.0/src/cfgfile.cc:944: leaked_storage: Variable "dup" going out of scope leaks the storage it points to. > >Error: RESOURCE_LEAK (CWE-404): >yadex-1.7.0/src/cfgfile.cc:687: cond_false: Condition "cfgfile == NULL", taking false branch >yadex-1.7.0/src/cfgfile.cc:691: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:695: cond_false: Condition "fgets(line, 1024 /* sizeof (line) */, cfgfile) == NULL", taking false branch >yadex-1.7.0/src/cfgfile.cc:695: cond_true: Condition "memcmp(line, config_file_magic, 36UL /* sizeof (config_file_magic) - 1 */)", taking true branch >yadex-1.7.0/src/cfgfile.cc:700: cond_false: Condition "flags & CFG_PARSE_MAGIC_ERROR", taking false branch >yadex-1.7.0/src/cfgfile.cc:705: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:706: cond_true: Condition "flags & CFG_PARSE_MAGIC_WARN", taking true branch >yadex-1.7.0/src/cfgfile.cc:713: cond_true: Condition "fgets(line, 1024 /* sizeof (line) */, cfgfile) != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:720: cond_false: Condition "isspace(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:724: cond_true: Condition "*p == '#'", taking true branch >yadex-1.7.0/src/cfgfile.cc:725: continue: Continuing loop >yadex-1.7.0/src/cfgfile.cc:713: cond_true: Condition "fgets(line, 1024 /* sizeof (line) */, cfgfile) != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:720: cond_true: Condition "isspace(*p)", taking true branch >yadex-1.7.0/src/cfgfile.cc:720: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:720: cond_false: Condition "isspace(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:724: cond_true: Condition "*p == '#'", taking true branch >yadex-1.7.0/src/cfgfile.cc:725: continue: Continuing loop >yadex-1.7.0/src/cfgfile.cc:713: cond_true: Condition "fgets(line, 1024 /* sizeof (line) */, cfgfile) != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:720: cond_false: Condition "isspace(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:724: cond_false: Condition "*p == '#'", taking false branch >yadex-1.7.0/src/cfgfile.cc:730: cond_true: Condition "len >= 1", taking true branch >yadex-1.7.0/src/cfgfile.cc:730: cond_true: Condition "p[len - 1] == '\n'", taking true branch >yadex-1.7.0/src/cfgfile.cc:735: cond_false: Condition "*p == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:740: cond_false: Condition "y_isident(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:742: cond_false: Condition "*p == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:754: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:755: cond_true: Condition "*p == '='", taking true branch >yadex-1.7.0/src/cfgfile.cc:759: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/cfgfile.cc:783: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:789: cond_false: Condition "isspace((unsigned char)*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:794: cond_true: Condition "*p2 != '\0'", taking true branch >yadex-1.7.0/src/cfgfile.cc:794: cond_true: Condition "!isspace(*p2)", taking true branch >yadex-1.7.0/src/cfgfile.cc:794: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:794: cond_false: Condition "*p2 != '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:796: cond_false: Condition "*p2 != '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:805: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:809: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/cfgfile.cc:811: cond_true: Condition "o->opt_type == OPT_END", taking true branch >yadex-1.7.0/src/cfgfile.cc:813: cond_false: Condition "flags & CFG_PARSE_ANAL_NAME", taking false branch >yadex-1.7.0/src/cfgfile.cc:819: else_branch: Reached else branch >yadex-1.7.0/src/cfgfile.cc:822: goto: Jumping to label "next_line" >yadex-1.7.0/src/cfgfile.cc:973: label: Reached label "next_line" >yadex-1.7.0/src/cfgfile.cc:713: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:713: cond_true: Condition "fgets(line, 1024 /* sizeof (line) */, cfgfile) != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:720: cond_false: Condition "isspace(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:724: cond_false: Condition "*p == '#'", taking false branch >yadex-1.7.0/src/cfgfile.cc:730: cond_true: Condition "len >= 1", taking true branch >yadex-1.7.0/src/cfgfile.cc:730: cond_true: Condition "p[len - 1] == '\n'", taking true branch >yadex-1.7.0/src/cfgfile.cc:735: cond_false: Condition "*p == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:740: cond_false: Condition "y_isident(*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:742: cond_false: Condition "*p == '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:754: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:755: cond_true: Condition "*p == '='", taking true branch >yadex-1.7.0/src/cfgfile.cc:759: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/cfgfile.cc:783: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:789: cond_false: Condition "isspace((unsigned char)*p)", taking false branch >yadex-1.7.0/src/cfgfile.cc:794: cond_true: Condition "*p2 != '\0'", taking true branch >yadex-1.7.0/src/cfgfile.cc:794: cond_true: Condition "!isspace(*p2)", taking true branch >yadex-1.7.0/src/cfgfile.cc:794: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:794: cond_false: Condition "*p2 != '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:796: cond_false: Condition "*p2 != '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:805: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:809: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/cfgfile.cc:811: cond_false: Condition "o->opt_type == OPT_END", taking false branch >yadex-1.7.0/src/cfgfile.cc:824: if_end: End of if statement >yadex-1.7.0/src/cfgfile.cc:825: cond_false: Condition "!o->long_name", taking false branch >yadex-1.7.0/src/cfgfile.cc:825: cond_false: Condition "strcmp(name, o->long_name) != 0", taking false branch >yadex-1.7.0/src/cfgfile.cc:828: cond_true: Condition "o->flags != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:828: cond_false: Condition "strchr(o->flags, '1')", taking false branch >yadex-1.7.0/src/cfgfile.cc:831: cond_true: Condition "o->flags != NULL", taking true branch >yadex-1.7.0/src/cfgfile.cc:831: cond_false: Condition "strchr(o->flags, 'b')", taking false branch >yadex-1.7.0/src/cfgfile.cc:838: switch: Switch case value "8" >yadex-1.7.0/src/cfgfile.cc:947: switch_case: Reached case "8" >yadex-1.7.0/src/cfgfile.cc:948: cond_true: Condition "*value != '\0'", taking true branch >yadex-1.7.0/src/cfgfile.cc:951: cond_true: Condition "*v != '\0'", taking true branch >yadex-1.7.0/src/cfgfile.cc:951: cond_true: Condition "!isspace((unsigned char)*v)", taking true branch >yadex-1.7.0/src/cfgfile.cc:951: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/cfgfile.cc:951: cond_false: Condition "*v != '\0'", taking false branch >yadex-1.7.0/src/cfgfile.cc:953: alloc_fn: Storage is returned from allocation function "GetMemory(unsigned long)". >yadex-1.7.0/src/memory.cc:61:1: cond_false: Condition "size != (size_t)size", taking false branch >yadex-1.7.0/src/memory.cc:65:1: cond_true: Condition "size >= 1024", taking true branch >yadex-1.7.0/src/memory.cc:67:1: alloc_fn: Storage is returned from allocation function "malloc(size_t)". >yadex-1.7.0/src/memory.cc:67:1: var_assign: Assigning: "ret" = "malloc((size_t)size)". >yadex-1.7.0/src/memory.cc:68:1: cond_false: Condition "!ret", taking false branch >yadex-1.7.0/src/memory.cc:73:4: if_end: End of if statement >yadex-1.7.0/src/memory.cc:74:1: cond_false: Condition "!ret", taking false branch >yadex-1.7.0/src/memory.cc:76:1: return_alloc: Returning allocated memory "ret". >yadex-1.7.0/src/cfgfile.cc:953: var_assign: Assigning: "dup" = storage returned from "GetMemory(v - value + 1L)". >yadex-1.7.0/src/cfgfile.cc:954: noescape: Resource "dup" is not freed or pointed-to in function "memcpy(void *, void const *, size_t)". >yadex-1.7.0/src/cfgfile.cc:956: cond_false: Condition "o->data_ptr", taking false branch >yadex-1.7.0/src/cfgfile.cc:958: cond_false: Condition "isspace(*v)", taking false branch >yadex-1.7.0/src/cfgfile.cc:961: leaked_storage: Variable "dup" going out of scope leaks the storage it points to. > >Error: RETURN_LOCAL (CWE-562): >yadex-1.7.0/src/pic2img.cc:96: cond_true: Condition "picloc.wad != NULL", taking true branch >yadex-1.7.0/src/pic2img.cc:102: local_ptr_assign_local: Assigning: "dir" = "&dirbuf" (address of local variable "dirbuf"). >yadex-1.7.0/src/pic2img.cc:103: out_of_scope: Variable "dirbuf" goes out of scope. >yadex-1.7.0/src/pic2img.cc:103: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/pic2img.cc:112: if_end: End of if statement >yadex-1.7.0/src/pic2img.cc:115: use_invalid: Using "dir", which points to an out-of-scope variable "dirbuf". > >Error: REVERSE_INULL (CWE-476): >yadex-1.7.0/src/l_align.cc:317: deref_ptr: Directly dereferencing pointer "*sdlist". >yadex-1.7.0/src/l_align.cc:319: check_after_deref: Null-checking "*sdlist" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. > >Error: REVERSE_INULL (CWE-476): >yadex-1.7.0/src/l_align.cc:333: deref_ptr: Directly dereferencing pointer "*sdlist". >yadex-1.7.0/src/l_align.cc:335: check_after_deref: Null-checking "*sdlist" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. > >Error: REVERSE_INULL (CWE-476): >yadex-1.7.0/src/wads.cc:242: deref_ptr_in_call: Dereferencing pointer "data". >yadex-1.7.0/src/wads.cc:266: check_after_deref: Null-checking "data" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. > >Error: SIGN_EXTENSION (CWE-194): >yadex-1.7.0/src/img.cc:142: sign_extension: Suspicious implicit sign extension: "this->p->height" with type "unsigned short" (16 bits, unsigned) is promoted in "this->p->width * this->p->height" to type "int" (32 bits, signed), then sign-extended to type "unsigned long" (64 bits, unsigned). If "this->p->width * this->p->height" is greater than 0x7FFFFFFF, the upper bits of the result will all be 1. > >Error: SIGN_EXTENSION (CWE-194): >yadex-1.7.0/src/img.cc:142: sign_extension: Suspicious implicit sign extension: "this->p->width" with type "unsigned short" (16 bits, unsigned) is promoted in "this->p->width * this->p->height" to type "int" (32 bits, signed), then sign-extended to type "unsigned long" (64 bits, unsigned). If "this->p->width * this->p->height" is greater than 0x7FFFFFFF, the upper bits of the result will all be 1. > >Error: SIGN_EXTENSION (CWE-194): >yadex-1.7.0/src/img.cc:184: sign_extension: Suspicious implicit sign extension: "height" with type "unsigned short" (16 bits, unsigned) is promoted in "width * height + 10" to type "int" (32 bits, signed), then sign-extended to type "unsigned long" (64 bits, unsigned). If "width * height + 10" is greater than 0x7FFFFFFF, the upper bits of the result will all be 1. > >Error: SIGN_EXTENSION (CWE-194): >yadex-1.7.0/src/img.cc:184: sign_extension: Suspicious implicit sign extension: "width" with type "unsigned short" (16 bits, unsigned) is promoted in "width * height + 10" to type "int" (32 bits, signed), then sign-extended to type "unsigned long" (64 bits, unsigned). If "width * height + 10" is greater than 0x7FFFFFFF, the upper bits of the result will all be 1. > >Error: STRAY_SEMICOLON (CWE-398): >yadex-1.7.0/src/editobj.cc:142: stray_semicolon: "if" statement "if (strlen(prompt) > maxlen)" with no "then" or "else" is suspicious. Is the ';' after "if (strlen(prompt) > maxlen)" extraneous, or is the "if" itself unnecessary? > >Error: UNINIT (CWE-457): >yadex-1.7.0/src/lists.cc:117: cond_true: Condition "width < 0", taking true branch >yadex-1.7.0/src/lists.cc:122: cond_true: Condition "height < 0", taking true branch >yadex-1.7.0/src/lists.cc:130: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:131: cond_true: Condition "strlen(list[n]) > maxlen", taking true branch >yadex-1.7.0/src/lists.cc:130: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:130: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:131: cond_true: Condition "strlen(list[n]) > maxlen", taking true branch >yadex-1.7.0/src/lists.cc:130: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:130: cond_false: Condition "n < listsize", taking false branch >yadex-1.7.0/src/lists.cc:133: cond_true: Condition "n <= maxlen", taking true branch >yadex-1.7.0/src/lists.cc:133: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:133: cond_false: Condition "n <= maxlen", taking false branch >yadex-1.7.0/src/lists.cc:140: cond_true: Condition "hookfunc != NULL", taking true branch >yadex-1.7.0/src/lists.cc:142: cond_true: Condition "(int)(strlen(msg1) + 2) > l0", taking true branch >yadex-1.7.0/src/lists.cc:144: cond_true: Condition "(int)(strlen(msg2) + 2) > l0", taking true branch >yadex-1.7.0/src/lists.cc:149: cond_true: Condition "(int)strlen(prompt) > win_columns", taking true branch >yadex-1.7.0/src/lists.cc:154: cond_false: Condition "width > 0", taking false branch >yadex-1.7.0/src/lists.cc:157: cond_false: Condition "height + 20 > (int)(listdisp * FONTH + 10 + 28)", taking false branch >yadex-1.7.0/src/lists.cc:158: cond_true: Condition "x0 < 0", taking true branch >yadex-1.7.0/src/lists.cc:160: cond_true: Condition "y0 < 0", taking true branch >yadex-1.7.0/src/lists.cc:164: cond_true: Condition "x1 + width - 1 < ScrMaxX", taking true branch >yadex-1.7.0/src/lists.cc:168: cond_true: Condition "y1 + height - 1 < ScrMaxY", taking true branch >yadex-1.7.0/src/lists.cc:182: cond_true: Condition "listdisp > (win_height - (entry_out_y0 - y0) - 2 - FONTH / 2) / FONTH", taking true branch >yadex-1.7.0/src/lists.cc:192: cond_true: Condition "hookfunc != NULL", taking true branch >yadex-1.7.0/src/lists.cc:201: cond_false: Condition "width > 0", taking false branch >yadex-1.7.0/src/lists.cc:214: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/lists.cc:216: var_decl: Declaring variable "c". >yadex-1.7.0/src/lists.cc:219: cond_true: Condition "strcmp(name, namedisp) != 0", taking true branch >yadex-1.7.0/src/lists.cc:223: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:224: cond_true: Condition "y_stricmp(name, list[n]) <= 0", taking true branch >yadex-1.7.0/src/lists.cc:225: break: Breaking from loop >yadex-1.7.0/src/lists.cc:226: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:226: cond_false: Condition "!y_stricmp(name, list[n])", taking false branch >yadex-1.7.0/src/lists.cc:227: cond_false: Condition "n >= listsize", taking false branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "n + l < listsize", taking true branch >yadex-1.7.0/src/lists.cc:238: cond_false: Condition "false", taking false branch >yadex-1.7.0/src/lists.cc:243: if_end: End of if statement >yadex-1.7.0/src/lists.cc:249: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:236: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "n + l < listsize", taking true branch >yadex-1.7.0/src/lists.cc:238: cond_false: Condition "false", taking false branch >yadex-1.7.0/src/lists.cc:243: if_end: End of if statement >yadex-1.7.0/src/lists.cc:249: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:236: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_false: Condition "n + l < listsize", taking false branch >yadex-1.7.0/src/lists.cc:249: loop_end: Reached end of loop >yadex-1.7.0/src/lists.cc:250: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:260: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:267: cond_true: Condition "hookfunc", taking true branch >yadex-1.7.0/src/lists.cc:284: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:289: else_branch: Reached else branch >yadex-1.7.0/src/lists.cc:303: cond_false: Condition "picture_size_drawn", taking false branch >yadex-1.7.0/src/lists.cc:308: if_end: End of if statement >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 2 /* HOOK_SIZE_VALID */", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 4 /* HOOK_DISP_SIZE */", taking true branch >yadex-1.7.0/src/lists.cc:313: uninit_use_in_call: Using uninitialized value "c.height" when calling "y_snprintf(char *, size_t, char const *, ...)". > >Error: UNINIT (CWE-457): >yadex-1.7.0/src/lists.cc:117: cond_true: Condition "width < 0", taking true branch >yadex-1.7.0/src/lists.cc:122: cond_true: Condition "height < 0", taking true branch >yadex-1.7.0/src/lists.cc:130: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:131: cond_true: Condition "strlen(list[n]) > maxlen", taking true branch >yadex-1.7.0/src/lists.cc:130: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:130: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:131: cond_true: Condition "strlen(list[n]) > maxlen", taking true branch >yadex-1.7.0/src/lists.cc:130: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:130: cond_false: Condition "n < listsize", taking false branch >yadex-1.7.0/src/lists.cc:133: cond_true: Condition "n <= maxlen", taking true branch >yadex-1.7.0/src/lists.cc:133: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:133: cond_false: Condition "n <= maxlen", taking false branch >yadex-1.7.0/src/lists.cc:140: cond_true: Condition "hookfunc != NULL", taking true branch >yadex-1.7.0/src/lists.cc:142: cond_true: Condition "(int)(strlen(msg1) + 2) > l0", taking true branch >yadex-1.7.0/src/lists.cc:144: cond_true: Condition "(int)(strlen(msg2) + 2) > l0", taking true branch >yadex-1.7.0/src/lists.cc:149: cond_true: Condition "(int)strlen(prompt) > win_columns", taking true branch >yadex-1.7.0/src/lists.cc:154: cond_false: Condition "width > 0", taking false branch >yadex-1.7.0/src/lists.cc:157: cond_false: Condition "height + 20 > (int)(listdisp * FONTH + 10 + 28)", taking false branch >yadex-1.7.0/src/lists.cc:158: cond_true: Condition "x0 < 0", taking true branch >yadex-1.7.0/src/lists.cc:160: cond_true: Condition "y0 < 0", taking true branch >yadex-1.7.0/src/lists.cc:164: cond_true: Condition "x1 + width - 1 < ScrMaxX", taking true branch >yadex-1.7.0/src/lists.cc:168: cond_true: Condition "y1 + height - 1 < ScrMaxY", taking true branch >yadex-1.7.0/src/lists.cc:182: cond_true: Condition "listdisp > (win_height - (entry_out_y0 - y0) - 2 - FONTH / 2) / FONTH", taking true branch >yadex-1.7.0/src/lists.cc:192: cond_true: Condition "hookfunc != NULL", taking true branch >yadex-1.7.0/src/lists.cc:201: cond_false: Condition "width > 0", taking false branch >yadex-1.7.0/src/lists.cc:214: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/lists.cc:216: var_decl: Declaring variable "c". >yadex-1.7.0/src/lists.cc:219: cond_true: Condition "strcmp(name, namedisp) != 0", taking true branch >yadex-1.7.0/src/lists.cc:223: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:224: cond_true: Condition "y_stricmp(name, list[n]) <= 0", taking true branch >yadex-1.7.0/src/lists.cc:225: break: Breaking from loop >yadex-1.7.0/src/lists.cc:226: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:226: cond_false: Condition "!y_stricmp(name, list[n])", taking false branch >yadex-1.7.0/src/lists.cc:227: cond_false: Condition "n >= listsize", taking false branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "n + l < listsize", taking true branch >yadex-1.7.0/src/lists.cc:238: cond_false: Condition "false", taking false branch >yadex-1.7.0/src/lists.cc:243: if_end: End of if statement >yadex-1.7.0/src/lists.cc:249: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:236: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "n + l < listsize", taking true branch >yadex-1.7.0/src/lists.cc:238: cond_false: Condition "false", taking false branch >yadex-1.7.0/src/lists.cc:243: if_end: End of if statement >yadex-1.7.0/src/lists.cc:249: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:236: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_false: Condition "n + l < listsize", taking false branch >yadex-1.7.0/src/lists.cc:249: loop_end: Reached end of loop >yadex-1.7.0/src/lists.cc:250: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:260: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:267: cond_true: Condition "hookfunc", taking true branch >yadex-1.7.0/src/lists.cc:284: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:289: else_branch: Reached else branch >yadex-1.7.0/src/lists.cc:303: cond_false: Condition "picture_size_drawn", taking false branch >yadex-1.7.0/src/lists.cc:308: if_end: End of if statement >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 2 /* HOOK_SIZE_VALID */", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 4 /* HOOK_DISP_SIZE */", taking true branch >yadex-1.7.0/src/lists.cc:313: uninit_use_in_call: Using uninitialized value "c.width" when calling "y_snprintf(char *, size_t, char const *, ...)". > >Error: UNINIT (CWE-457): >yadex-1.7.0/src/lists.cc:117: cond_true: Condition "width < 0", taking true branch >yadex-1.7.0/src/lists.cc:122: cond_true: Condition "height < 0", taking true branch >yadex-1.7.0/src/lists.cc:130: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:131: cond_true: Condition "strlen(list[n]) > maxlen", taking true branch >yadex-1.7.0/src/lists.cc:130: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:130: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:131: cond_true: Condition "strlen(list[n]) > maxlen", taking true branch >yadex-1.7.0/src/lists.cc:130: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:130: cond_false: Condition "n < listsize", taking false branch >yadex-1.7.0/src/lists.cc:133: cond_true: Condition "n <= maxlen", taking true branch >yadex-1.7.0/src/lists.cc:133: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:133: cond_false: Condition "n <= maxlen", taking false branch >yadex-1.7.0/src/lists.cc:140: cond_true: Condition "hookfunc != NULL", taking true branch >yadex-1.7.0/src/lists.cc:142: cond_true: Condition "(int)(strlen(msg1) + 2) > l0", taking true branch >yadex-1.7.0/src/lists.cc:144: cond_true: Condition "(int)(strlen(msg2) + 2) > l0", taking true branch >yadex-1.7.0/src/lists.cc:149: cond_true: Condition "(int)strlen(prompt) > win_columns", taking true branch >yadex-1.7.0/src/lists.cc:154: cond_false: Condition "width > 0", taking false branch >yadex-1.7.0/src/lists.cc:157: cond_false: Condition "height + 20 > (int)(listdisp * FONTH + 10 + 28)", taking false branch >yadex-1.7.0/src/lists.cc:158: cond_true: Condition "x0 < 0", taking true branch >yadex-1.7.0/src/lists.cc:160: cond_true: Condition "y0 < 0", taking true branch >yadex-1.7.0/src/lists.cc:164: cond_true: Condition "x1 + width - 1 < ScrMaxX", taking true branch >yadex-1.7.0/src/lists.cc:168: cond_true: Condition "y1 + height - 1 < ScrMaxY", taking true branch >yadex-1.7.0/src/lists.cc:182: cond_true: Condition "listdisp > (win_height - (entry_out_y0 - y0) - 2 - FONTH / 2) / FONTH", taking true branch >yadex-1.7.0/src/lists.cc:192: cond_true: Condition "hookfunc != NULL", taking true branch >yadex-1.7.0/src/lists.cc:201: cond_false: Condition "width > 0", taking false branch >yadex-1.7.0/src/lists.cc:214: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/lists.cc:219: cond_true: Condition "strcmp(name, namedisp) != 0", taking true branch >yadex-1.7.0/src/lists.cc:223: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:224: cond_true: Condition "y_stricmp(name, list[n]) <= 0", taking true branch >yadex-1.7.0/src/lists.cc:225: break: Breaking from loop >yadex-1.7.0/src/lists.cc:226: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:226: cond_false: Condition "!y_stricmp(name, list[n])", taking false branch >yadex-1.7.0/src/lists.cc:227: cond_false: Condition "n >= listsize", taking false branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "n + l < listsize", taking true branch >yadex-1.7.0/src/lists.cc:238: cond_false: Condition "false", taking false branch >yadex-1.7.0/src/lists.cc:243: if_end: End of if statement >yadex-1.7.0/src/lists.cc:249: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:236: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "n + l < listsize", taking true branch >yadex-1.7.0/src/lists.cc:238: cond_false: Condition "false", taking false branch >yadex-1.7.0/src/lists.cc:243: if_end: End of if statement >yadex-1.7.0/src/lists.cc:249: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:236: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_false: Condition "n + l < listsize", taking false branch >yadex-1.7.0/src/lists.cc:249: loop_end: Reached end of loop >yadex-1.7.0/src/lists.cc:250: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:260: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:267: cond_true: Condition "hookfunc", taking true branch >yadex-1.7.0/src/lists.cc:284: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:289: else_branch: Reached else branch >yadex-1.7.0/src/lists.cc:303: cond_false: Condition "picture_size_drawn", taking false branch >yadex-1.7.0/src/lists.cc:308: if_end: End of if statement >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 2 /* HOOK_SIZE_VALID */", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 4 /* HOOK_DISP_SIZE */", taking true branch >yadex-1.7.0/src/lists.cc:314: cond_true: Condition "strlen(size_buf) > 11UL /* size_chars */", taking true branch >yadex-1.7.0/src/lists.cc:347: cond_true: Condition "c.disp_x0 == 2147483647 /* BAD_VALUE */", taking true branch >yadex-1.7.0/src/lists.cc:381: if_end: End of if statement >yadex-1.7.0/src/lists.cc:391: cond_true: Condition "firstkey", taking true branch >yadex-1.7.0/src/lists.cc:391: cond_true: Condition "key < 256", taking true branch >yadex-1.7.0/src/lists.cc:391: cond_true: Condition "key & 0x60", taking true branch >yadex-1.7.0/src/lists.cc:391: cond_true: Condition "key != 127", taking true branch >yadex-1.7.0/src/lists.cc:391: cond_true: Condition "key != ' '", taking true branch >yadex-1.7.0/src/lists.cc:393: cond_true: Condition "i <= maxlen", taking true branch >yadex-1.7.0/src/lists.cc:393: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:393: cond_true: Condition "i <= maxlen", taking true branch >yadex-1.7.0/src/lists.cc:393: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:393: cond_false: Condition "i <= maxlen", taking false branch >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "len < maxlen", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "key >= 'a'", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "key <= 'z'", taking true branch >yadex-1.7.0/src/lists.cc:402: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/lists.cc:559: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:214: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:214: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/lists.cc:219: cond_true: Condition "strcmp(name, namedisp) != 0", taking true branch >yadex-1.7.0/src/lists.cc:223: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:224: cond_true: Condition "y_stricmp(name, list[n]) <= 0", taking true branch >yadex-1.7.0/src/lists.cc:225: break: Breaking from loop >yadex-1.7.0/src/lists.cc:226: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:226: cond_false: Condition "!y_stricmp(name, list[n])", taking false branch >yadex-1.7.0/src/lists.cc:227: cond_false: Condition "n >= listsize", taking false branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "n + l < listsize", taking true branch >yadex-1.7.0/src/lists.cc:238: cond_false: Condition "false", taking false branch >yadex-1.7.0/src/lists.cc:243: if_end: End of if statement >yadex-1.7.0/src/lists.cc:249: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:236: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_false: Condition "n + l < listsize", taking false branch >yadex-1.7.0/src/lists.cc:249: loop_end: Reached end of loop >yadex-1.7.0/src/lists.cc:250: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:260: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:267: cond_true: Condition "hookfunc", taking true branch >yadex-1.7.0/src/lists.cc:284: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:289: else_branch: Reached else branch >yadex-1.7.0/src/lists.cc:303: cond_true: Condition "picture_size_drawn", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 2 /* HOOK_SIZE_VALID */", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 4 /* HOOK_DISP_SIZE */", taking true branch >yadex-1.7.0/src/lists.cc:314: cond_true: Condition "strlen(size_buf) > 11UL /* size_chars */", taking true branch >yadex-1.7.0/src/lists.cc:347: cond_true: Condition "c.disp_x0 == 2147483647 /* BAD_VALUE */", taking true branch >yadex-1.7.0/src/lists.cc:381: if_end: End of if statement >yadex-1.7.0/src/lists.cc:391: cond_false: Condition "firstkey", taking false branch >yadex-1.7.0/src/lists.cc:395: if_end: End of if statement >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "len < maxlen", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "key >= 'a'", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "key <= 'z'", taking true branch >yadex-1.7.0/src/lists.cc:402: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/lists.cc:559: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:214: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:214: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/lists.cc:219: cond_true: Condition "strcmp(name, namedisp) != 0", taking true branch >yadex-1.7.0/src/lists.cc:223: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:224: cond_true: Condition "y_stricmp(name, list[n]) <= 0", taking true branch >yadex-1.7.0/src/lists.cc:225: break: Breaking from loop >yadex-1.7.0/src/lists.cc:226: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:226: cond_false: Condition "!y_stricmp(name, list[n])", taking false branch >yadex-1.7.0/src/lists.cc:227: cond_false: Condition "n >= listsize", taking false branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "n + l < listsize", taking true branch >yadex-1.7.0/src/lists.cc:238: cond_false: Condition "false", taking false branch >yadex-1.7.0/src/lists.cc:243: if_end: End of if statement >yadex-1.7.0/src/lists.cc:249: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:236: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:236: cond_false: Condition "l < listdisp", taking false branch >yadex-1.7.0/src/lists.cc:249: loop_end: Reached end of loop >yadex-1.7.0/src/lists.cc:250: cond_false: Condition "l < listdisp", taking false branch >yadex-1.7.0/src/lists.cc:254: if_end: End of if statement >yadex-1.7.0/src/lists.cc:260: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:267: cond_true: Condition "hookfunc", taking true branch >yadex-1.7.0/src/lists.cc:284: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:289: else_branch: Reached else branch >yadex-1.7.0/src/lists.cc:303: cond_true: Condition "picture_size_drawn", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 2 /* HOOK_SIZE_VALID */", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 4 /* HOOK_DISP_SIZE */", taking true branch >yadex-1.7.0/src/lists.cc:314: cond_true: Condition "strlen(size_buf) > 11UL /* size_chars */", taking true branch >yadex-1.7.0/src/lists.cc:347: cond_true: Condition "c.disp_x0 == 2147483647 /* BAD_VALUE */", taking true branch >yadex-1.7.0/src/lists.cc:381: if_end: End of if statement >yadex-1.7.0/src/lists.cc:391: cond_false: Condition "firstkey", taking false branch >yadex-1.7.0/src/lists.cc:395: if_end: End of if statement >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "len < maxlen", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "key >= 'a'", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "key <= 'z'", taking true branch >yadex-1.7.0/src/lists.cc:402: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/lists.cc:559: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:214: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:214: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/lists.cc:219: cond_true: Condition "strcmp(name, namedisp) != 0", taking true branch >yadex-1.7.0/src/lists.cc:223: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:224: cond_true: Condition "y_stricmp(name, list[n]) <= 0", taking true branch >yadex-1.7.0/src/lists.cc:225: break: Breaking from loop >yadex-1.7.0/src/lists.cc:226: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:226: cond_true: Condition "!y_stricmp(name, list[n])", taking true branch >yadex-1.7.0/src/lists.cc:227: cond_false: Condition "n >= listsize", taking false branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "n + l < listsize", taking true branch >yadex-1.7.0/src/lists.cc:238: cond_false: Condition "false", taking false branch >yadex-1.7.0/src/lists.cc:243: if_end: End of if statement >yadex-1.7.0/src/lists.cc:249: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:236: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:236: cond_false: Condition "l < listdisp", taking false branch >yadex-1.7.0/src/lists.cc:249: loop_end: Reached end of loop >yadex-1.7.0/src/lists.cc:250: cond_false: Condition "l < listdisp", taking false branch >yadex-1.7.0/src/lists.cc:254: if_end: End of if statement >yadex-1.7.0/src/lists.cc:260: cond_true: Condition "ok", taking true branch >yadex-1.7.0/src/lists.cc:267: cond_true: Condition "hookfunc", taking true branch >yadex-1.7.0/src/lists.cc:284: cond_true: Condition "ok", taking true branch >yadex-1.7.0/src/lists.cc:287: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/lists.cc:295: if_end: End of if statement >yadex-1.7.0/src/lists.cc:303: cond_true: Condition "picture_size_drawn", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 2 /* HOOK_SIZE_VALID */", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 4 /* HOOK_DISP_SIZE */", taking true branch >yadex-1.7.0/src/lists.cc:314: cond_true: Condition "strlen(size_buf) > 11UL /* size_chars */", taking true branch >yadex-1.7.0/src/lists.cc:347: cond_true: Condition "c.disp_x0 == 2147483647 /* BAD_VALUE */", taking true branch >yadex-1.7.0/src/lists.cc:381: if_end: End of if statement >yadex-1.7.0/src/lists.cc:391: cond_false: Condition "firstkey", taking false branch >yadex-1.7.0/src/lists.cc:395: if_end: End of if statement >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "len < maxlen", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "key >= 'a'", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_false: Condition "key <= 'z'", taking false branch >yadex-1.7.0/src/lists.cc:403: cond_true: Condition "len < maxlen", taking true branch >yadex-1.7.0/src/lists.cc:403: cond_false: Condition "key < 256", taking false branch >yadex-1.7.0/src/lists.cc:408: cond_true: Condition "len > 0", taking true branch >yadex-1.7.0/src/lists.cc:408: cond_false: Condition "key == 8 /* YK_BACKSPACE */", taking false branch >yadex-1.7.0/src/lists.cc:410: cond_false: Condition "key == 21", taking false branch >yadex-1.7.0/src/lists.cc:410: cond_false: Condition "key == 23", taking false branch >yadex-1.7.0/src/lists.cc:412: cond_false: Condition "key == 258 /* YK_DOWN */", taking false branch >yadex-1.7.0/src/lists.cc:427: cond_false: Condition "key == 276 /* YK_UP */", taking false branch >yadex-1.7.0/src/lists.cc:438: cond_false: Condition "key == 274 /* YK_PD */", taking false branch >yadex-1.7.0/src/lists.cc:438: cond_false: Condition "key == 6", taking false branch >yadex-1.7.0/src/lists.cc:438: cond_false: Condition "key == 22", taking false branch >yadex-1.7.0/src/lists.cc:445: cond_false: Condition "key == 273 /* YK_PU */", taking false branch >yadex-1.7.0/src/lists.cc:445: cond_false: Condition "key == 2", taking false branch >yadex-1.7.0/src/lists.cc:452: cond_false: Condition "key == 14", taking false branch >yadex-1.7.0/src/lists.cc:467: cond_false: Condition "key == 16", taking false branch >yadex-1.7.0/src/lists.cc:486: cond_false: Condition "key == (16658 /* YK_CTRL | YK_PD */)", taking false branch >yadex-1.7.0/src/lists.cc:486: cond_false: Condition "key == 259 /* YK_END */", taking false branch >yadex-1.7.0/src/lists.cc:495: cond_false: Condition "key == (16657 /* YK_CTRL | YK_PU */)", taking false branch >yadex-1.7.0/src/lists.cc:495: cond_false: Condition "key == 270 /* YK_HOME */", taking false branch >yadex-1.7.0/src/lists.cc:504: cond_false: Condition "key == 9 /* YK_TAB */", taking false branch >yadex-1.7.0/src/lists.cc:506: cond_true: Condition "key == 260 /* YK_F1 */", taking true branch >yadex-1.7.0/src/lists.cc:506: cond_true: Condition "c.flags & 64 /* HOOK_LOC_VALID */", taking true branch >yadex-1.7.0/src/lists.cc:510: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/lists.cc:559: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:214: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:214: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/lists.cc:216: var_decl: Declaring variable "c". >yadex-1.7.0/src/lists.cc:219: cond_true: Condition "strcmp(name, namedisp) != 0", taking true branch >yadex-1.7.0/src/lists.cc:223: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:224: cond_true: Condition "y_stricmp(name, list[n]) <= 0", taking true branch >yadex-1.7.0/src/lists.cc:225: break: Breaking from loop >yadex-1.7.0/src/lists.cc:226: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:226: cond_false: Condition "!y_stricmp(name, list[n])", taking false branch >yadex-1.7.0/src/lists.cc:227: cond_false: Condition "n >= listsize", taking false branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "n + l < listsize", taking true branch >yadex-1.7.0/src/lists.cc:238: cond_false: Condition "false", taking false branch >yadex-1.7.0/src/lists.cc:243: if_end: End of if statement >yadex-1.7.0/src/lists.cc:249: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:236: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:236: cond_false: Condition "l < listdisp", taking false branch >yadex-1.7.0/src/lists.cc:249: loop_end: Reached end of loop >yadex-1.7.0/src/lists.cc:250: cond_false: Condition "l < listdisp", taking false branch >yadex-1.7.0/src/lists.cc:254: if_end: End of if statement >yadex-1.7.0/src/lists.cc:260: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:267: cond_true: Condition "hookfunc", taking true branch >yadex-1.7.0/src/lists.cc:284: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:289: else_branch: Reached else branch >yadex-1.7.0/src/lists.cc:303: cond_true: Condition "picture_size_drawn", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 2 /* HOOK_SIZE_VALID */", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 4 /* HOOK_DISP_SIZE */", taking true branch >yadex-1.7.0/src/lists.cc:314: cond_true: Condition "strlen(size_buf) > 11UL /* size_chars */", taking true branch >yadex-1.7.0/src/lists.cc:347: cond_true: Condition "c.disp_x0 == 2147483647 /* BAD_VALUE */", taking true branch >yadex-1.7.0/src/lists.cc:381: if_end: End of if statement >yadex-1.7.0/src/lists.cc:391: cond_false: Condition "firstkey", taking false branch >yadex-1.7.0/src/lists.cc:395: if_end: End of if statement >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "len < maxlen", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_false: Condition "key >= 'a'", taking false branch >yadex-1.7.0/src/lists.cc:403: cond_true: Condition "len < maxlen", taking true branch >yadex-1.7.0/src/lists.cc:403: cond_true: Condition "key < 256", taking true branch >yadex-1.7.0/src/lists.cc:403: cond_false: Condition "key & 0x60", taking false branch >yadex-1.7.0/src/lists.cc:408: cond_true: Condition "len > 0", taking true branch >yadex-1.7.0/src/lists.cc:408: cond_false: Condition "key == 8 /* YK_BACKSPACE */", taking false branch >yadex-1.7.0/src/lists.cc:410: cond_false: Condition "key == 21", taking false branch >yadex-1.7.0/src/lists.cc:410: cond_false: Condition "key == 23", taking false branch >yadex-1.7.0/src/lists.cc:412: cond_false: Condition "key == 258 /* YK_DOWN */", taking false branch >yadex-1.7.0/src/lists.cc:427: cond_false: Condition "key == 276 /* YK_UP */", taking false branch >yadex-1.7.0/src/lists.cc:438: cond_false: Condition "key == 274 /* YK_PD */", taking false branch >yadex-1.7.0/src/lists.cc:438: cond_false: Condition "key == 6", taking false branch >yadex-1.7.0/src/lists.cc:438: cond_false: Condition "key == 22", taking false branch >yadex-1.7.0/src/lists.cc:445: cond_false: Condition "key == 273 /* YK_PU */", taking false branch >yadex-1.7.0/src/lists.cc:445: cond_false: Condition "key == 2", taking false branch >yadex-1.7.0/src/lists.cc:452: cond_false: Condition "key == 14", taking false branch >yadex-1.7.0/src/lists.cc:467: cond_false: Condition "key == 16", taking false branch >yadex-1.7.0/src/lists.cc:486: cond_false: Condition "key == (16658 /* YK_CTRL | YK_PD */)", taking false branch >yadex-1.7.0/src/lists.cc:486: cond_false: Condition "key == 259 /* YK_END */", taking false branch >yadex-1.7.0/src/lists.cc:495: cond_false: Condition "key == (16657 /* YK_CTRL | YK_PU */)", taking false branch >yadex-1.7.0/src/lists.cc:495: cond_false: Condition "key == 270 /* YK_HOME */", taking false branch >yadex-1.7.0/src/lists.cc:504: cond_false: Condition "key == 9 /* YK_TAB */", taking false branch >yadex-1.7.0/src/lists.cc:506: cond_false: Condition "key == 260 /* YK_F1 */", taking false branch >yadex-1.7.0/src/lists.cc:511: cond_false: Condition "key == 8452 /* YK_F1 + YK_SHIFT */", taking false branch >yadex-1.7.0/src/lists.cc:532: cond_true: Condition "key == 1", taking true branch >yadex-1.7.0/src/lists.cc:534: uninit_use: Using uninitialized value "c.npatches". > >Error: UNINIT (CWE-457): >yadex-1.7.0/src/lists.cc:117: cond_true: Condition "width < 0", taking true branch >yadex-1.7.0/src/lists.cc:122: cond_true: Condition "height < 0", taking true branch >yadex-1.7.0/src/lists.cc:130: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:131: cond_true: Condition "strlen(list[n]) > maxlen", taking true branch >yadex-1.7.0/src/lists.cc:130: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:130: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:131: cond_true: Condition "strlen(list[n]) > maxlen", taking true branch >yadex-1.7.0/src/lists.cc:130: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:130: cond_false: Condition "n < listsize", taking false branch >yadex-1.7.0/src/lists.cc:133: cond_true: Condition "n <= maxlen", taking true branch >yadex-1.7.0/src/lists.cc:133: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:133: cond_false: Condition "n <= maxlen", taking false branch >yadex-1.7.0/src/lists.cc:140: cond_true: Condition "hookfunc != NULL", taking true branch >yadex-1.7.0/src/lists.cc:142: cond_true: Condition "(int)(strlen(msg1) + 2) > l0", taking true branch >yadex-1.7.0/src/lists.cc:144: cond_true: Condition "(int)(strlen(msg2) + 2) > l0", taking true branch >yadex-1.7.0/src/lists.cc:149: cond_true: Condition "(int)strlen(prompt) > win_columns", taking true branch >yadex-1.7.0/src/lists.cc:154: cond_false: Condition "width > 0", taking false branch >yadex-1.7.0/src/lists.cc:157: cond_false: Condition "height + 20 > (int)(listdisp * FONTH + 10 + 28)", taking false branch >yadex-1.7.0/src/lists.cc:158: cond_true: Condition "x0 < 0", taking true branch >yadex-1.7.0/src/lists.cc:160: cond_true: Condition "y0 < 0", taking true branch >yadex-1.7.0/src/lists.cc:164: cond_true: Condition "x1 + width - 1 < ScrMaxX", taking true branch >yadex-1.7.0/src/lists.cc:168: cond_true: Condition "y1 + height - 1 < ScrMaxY", taking true branch >yadex-1.7.0/src/lists.cc:182: cond_true: Condition "listdisp > (win_height - (entry_out_y0 - y0) - 2 - FONTH / 2) / FONTH", taking true branch >yadex-1.7.0/src/lists.cc:192: cond_true: Condition "hookfunc != NULL", taking true branch >yadex-1.7.0/src/lists.cc:201: cond_false: Condition "width > 0", taking false branch >yadex-1.7.0/src/lists.cc:214: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/lists.cc:219: cond_true: Condition "strcmp(name, namedisp) != 0", taking true branch >yadex-1.7.0/src/lists.cc:223: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:224: cond_true: Condition "y_stricmp(name, list[n]) <= 0", taking true branch >yadex-1.7.0/src/lists.cc:225: break: Breaking from loop >yadex-1.7.0/src/lists.cc:226: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:226: cond_false: Condition "!y_stricmp(name, list[n])", taking false branch >yadex-1.7.0/src/lists.cc:227: cond_false: Condition "n >= listsize", taking false branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "n + l < listsize", taking true branch >yadex-1.7.0/src/lists.cc:238: cond_false: Condition "false", taking false branch >yadex-1.7.0/src/lists.cc:243: if_end: End of if statement >yadex-1.7.0/src/lists.cc:249: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:236: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "n + l < listsize", taking true branch >yadex-1.7.0/src/lists.cc:238: cond_false: Condition "false", taking false branch >yadex-1.7.0/src/lists.cc:243: if_end: End of if statement >yadex-1.7.0/src/lists.cc:249: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:236: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_false: Condition "n + l < listsize", taking false branch >yadex-1.7.0/src/lists.cc:249: loop_end: Reached end of loop >yadex-1.7.0/src/lists.cc:250: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:260: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:267: cond_true: Condition "hookfunc", taking true branch >yadex-1.7.0/src/lists.cc:284: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:289: else_branch: Reached else branch >yadex-1.7.0/src/lists.cc:303: cond_false: Condition "picture_size_drawn", taking false branch >yadex-1.7.0/src/lists.cc:308: if_end: End of if statement >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 2 /* HOOK_SIZE_VALID */", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 4 /* HOOK_DISP_SIZE */", taking true branch >yadex-1.7.0/src/lists.cc:314: cond_true: Condition "strlen(size_buf) > 11UL /* size_chars */", taking true branch >yadex-1.7.0/src/lists.cc:347: cond_true: Condition "c.disp_x0 == 2147483647 /* BAD_VALUE */", taking true branch >yadex-1.7.0/src/lists.cc:381: if_end: End of if statement >yadex-1.7.0/src/lists.cc:391: cond_true: Condition "firstkey", taking true branch >yadex-1.7.0/src/lists.cc:391: cond_true: Condition "key < 256", taking true branch >yadex-1.7.0/src/lists.cc:391: cond_true: Condition "key & 0x60", taking true branch >yadex-1.7.0/src/lists.cc:391: cond_true: Condition "key != 127", taking true branch >yadex-1.7.0/src/lists.cc:391: cond_true: Condition "key != ' '", taking true branch >yadex-1.7.0/src/lists.cc:393: cond_true: Condition "i <= maxlen", taking true branch >yadex-1.7.0/src/lists.cc:393: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:393: cond_true: Condition "i <= maxlen", taking true branch >yadex-1.7.0/src/lists.cc:393: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:393: cond_false: Condition "i <= maxlen", taking false branch >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "len < maxlen", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "key >= 'a'", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "key <= 'z'", taking true branch >yadex-1.7.0/src/lists.cc:402: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/lists.cc:559: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:214: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:214: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/lists.cc:219: cond_true: Condition "strcmp(name, namedisp) != 0", taking true branch >yadex-1.7.0/src/lists.cc:223: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:224: cond_true: Condition "y_stricmp(name, list[n]) <= 0", taking true branch >yadex-1.7.0/src/lists.cc:225: break: Breaking from loop >yadex-1.7.0/src/lists.cc:226: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:226: cond_false: Condition "!y_stricmp(name, list[n])", taking false branch >yadex-1.7.0/src/lists.cc:227: cond_false: Condition "n >= listsize", taking false branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "n + l < listsize", taking true branch >yadex-1.7.0/src/lists.cc:238: cond_false: Condition "false", taking false branch >yadex-1.7.0/src/lists.cc:243: if_end: End of if statement >yadex-1.7.0/src/lists.cc:249: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:236: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_false: Condition "n + l < listsize", taking false branch >yadex-1.7.0/src/lists.cc:249: loop_end: Reached end of loop >yadex-1.7.0/src/lists.cc:250: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:260: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:267: cond_true: Condition "hookfunc", taking true branch >yadex-1.7.0/src/lists.cc:284: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:289: else_branch: Reached else branch >yadex-1.7.0/src/lists.cc:303: cond_true: Condition "picture_size_drawn", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 2 /* HOOK_SIZE_VALID */", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 4 /* HOOK_DISP_SIZE */", taking true branch >yadex-1.7.0/src/lists.cc:314: cond_true: Condition "strlen(size_buf) > 11UL /* size_chars */", taking true branch >yadex-1.7.0/src/lists.cc:347: cond_true: Condition "c.disp_x0 == 2147483647 /* BAD_VALUE */", taking true branch >yadex-1.7.0/src/lists.cc:381: if_end: End of if statement >yadex-1.7.0/src/lists.cc:391: cond_false: Condition "firstkey", taking false branch >yadex-1.7.0/src/lists.cc:395: if_end: End of if statement >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "len < maxlen", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "key >= 'a'", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "key <= 'z'", taking true branch >yadex-1.7.0/src/lists.cc:402: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/lists.cc:559: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:214: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:214: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/lists.cc:219: cond_true: Condition "strcmp(name, namedisp) != 0", taking true branch >yadex-1.7.0/src/lists.cc:223: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:224: cond_true: Condition "y_stricmp(name, list[n]) <= 0", taking true branch >yadex-1.7.0/src/lists.cc:225: break: Breaking from loop >yadex-1.7.0/src/lists.cc:226: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:226: cond_false: Condition "!y_stricmp(name, list[n])", taking false branch >yadex-1.7.0/src/lists.cc:227: cond_false: Condition "n >= listsize", taking false branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "n + l < listsize", taking true branch >yadex-1.7.0/src/lists.cc:238: cond_false: Condition "false", taking false branch >yadex-1.7.0/src/lists.cc:243: if_end: End of if statement >yadex-1.7.0/src/lists.cc:249: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:236: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:236: cond_false: Condition "l < listdisp", taking false branch >yadex-1.7.0/src/lists.cc:249: loop_end: Reached end of loop >yadex-1.7.0/src/lists.cc:250: cond_false: Condition "l < listdisp", taking false branch >yadex-1.7.0/src/lists.cc:254: if_end: End of if statement >yadex-1.7.0/src/lists.cc:260: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:267: cond_true: Condition "hookfunc", taking true branch >yadex-1.7.0/src/lists.cc:284: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:289: else_branch: Reached else branch >yadex-1.7.0/src/lists.cc:303: cond_true: Condition "picture_size_drawn", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 2 /* HOOK_SIZE_VALID */", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 4 /* HOOK_DISP_SIZE */", taking true branch >yadex-1.7.0/src/lists.cc:314: cond_true: Condition "strlen(size_buf) > 11UL /* size_chars */", taking true branch >yadex-1.7.0/src/lists.cc:347: cond_true: Condition "c.disp_x0 == 2147483647 /* BAD_VALUE */", taking true branch >yadex-1.7.0/src/lists.cc:381: if_end: End of if statement >yadex-1.7.0/src/lists.cc:391: cond_false: Condition "firstkey", taking false branch >yadex-1.7.0/src/lists.cc:395: if_end: End of if statement >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "len < maxlen", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "key >= 'a'", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "key <= 'z'", taking true branch >yadex-1.7.0/src/lists.cc:402: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/lists.cc:559: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:214: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:214: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/lists.cc:219: cond_true: Condition "strcmp(name, namedisp) != 0", taking true branch >yadex-1.7.0/src/lists.cc:223: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:224: cond_true: Condition "y_stricmp(name, list[n]) <= 0", taking true branch >yadex-1.7.0/src/lists.cc:225: break: Breaking from loop >yadex-1.7.0/src/lists.cc:226: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:226: cond_true: Condition "!y_stricmp(name, list[n])", taking true branch >yadex-1.7.0/src/lists.cc:227: cond_false: Condition "n >= listsize", taking false branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "n + l < listsize", taking true branch >yadex-1.7.0/src/lists.cc:238: cond_false: Condition "false", taking false branch >yadex-1.7.0/src/lists.cc:243: if_end: End of if statement >yadex-1.7.0/src/lists.cc:249: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:236: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:236: cond_false: Condition "l < listdisp", taking false branch >yadex-1.7.0/src/lists.cc:249: loop_end: Reached end of loop >yadex-1.7.0/src/lists.cc:250: cond_false: Condition "l < listdisp", taking false branch >yadex-1.7.0/src/lists.cc:254: if_end: End of if statement >yadex-1.7.0/src/lists.cc:260: cond_true: Condition "ok", taking true branch >yadex-1.7.0/src/lists.cc:267: cond_true: Condition "hookfunc", taking true branch >yadex-1.7.0/src/lists.cc:284: cond_true: Condition "ok", taking true branch >yadex-1.7.0/src/lists.cc:287: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/lists.cc:295: if_end: End of if statement >yadex-1.7.0/src/lists.cc:303: cond_true: Condition "picture_size_drawn", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 2 /* HOOK_SIZE_VALID */", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 4 /* HOOK_DISP_SIZE */", taking true branch >yadex-1.7.0/src/lists.cc:314: cond_true: Condition "strlen(size_buf) > 11UL /* size_chars */", taking true branch >yadex-1.7.0/src/lists.cc:347: cond_true: Condition "c.disp_x0 == 2147483647 /* BAD_VALUE */", taking true branch >yadex-1.7.0/src/lists.cc:381: if_end: End of if statement >yadex-1.7.0/src/lists.cc:391: cond_false: Condition "firstkey", taking false branch >yadex-1.7.0/src/lists.cc:395: if_end: End of if statement >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "len < maxlen", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "key >= 'a'", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_false: Condition "key <= 'z'", taking false branch >yadex-1.7.0/src/lists.cc:403: cond_true: Condition "len < maxlen", taking true branch >yadex-1.7.0/src/lists.cc:403: cond_false: Condition "key < 256", taking false branch >yadex-1.7.0/src/lists.cc:408: cond_true: Condition "len > 0", taking true branch >yadex-1.7.0/src/lists.cc:408: cond_false: Condition "key == 8 /* YK_BACKSPACE */", taking false branch >yadex-1.7.0/src/lists.cc:410: cond_false: Condition "key == 21", taking false branch >yadex-1.7.0/src/lists.cc:410: cond_false: Condition "key == 23", taking false branch >yadex-1.7.0/src/lists.cc:412: cond_false: Condition "key == 258 /* YK_DOWN */", taking false branch >yadex-1.7.0/src/lists.cc:427: cond_false: Condition "key == 276 /* YK_UP */", taking false branch >yadex-1.7.0/src/lists.cc:438: cond_false: Condition "key == 274 /* YK_PD */", taking false branch >yadex-1.7.0/src/lists.cc:438: cond_false: Condition "key == 6", taking false branch >yadex-1.7.0/src/lists.cc:438: cond_false: Condition "key == 22", taking false branch >yadex-1.7.0/src/lists.cc:445: cond_false: Condition "key == 273 /* YK_PU */", taking false branch >yadex-1.7.0/src/lists.cc:445: cond_false: Condition "key == 2", taking false branch >yadex-1.7.0/src/lists.cc:452: cond_false: Condition "key == 14", taking false branch >yadex-1.7.0/src/lists.cc:467: cond_false: Condition "key == 16", taking false branch >yadex-1.7.0/src/lists.cc:486: cond_false: Condition "key == (16658 /* YK_CTRL | YK_PD */)", taking false branch >yadex-1.7.0/src/lists.cc:486: cond_false: Condition "key == 259 /* YK_END */", taking false branch >yadex-1.7.0/src/lists.cc:495: cond_false: Condition "key == (16657 /* YK_CTRL | YK_PU */)", taking false branch >yadex-1.7.0/src/lists.cc:495: cond_false: Condition "key == 270 /* YK_HOME */", taking false branch >yadex-1.7.0/src/lists.cc:504: cond_false: Condition "key == 9 /* YK_TAB */", taking false branch >yadex-1.7.0/src/lists.cc:506: cond_true: Condition "key == 260 /* YK_F1 */", taking true branch >yadex-1.7.0/src/lists.cc:506: cond_true: Condition "c.flags & 64 /* HOOK_LOC_VALID */", taking true branch >yadex-1.7.0/src/lists.cc:510: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/lists.cc:559: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:214: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:214: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/lists.cc:216: var_decl: Declaring variable "c". >yadex-1.7.0/src/lists.cc:219: cond_true: Condition "strcmp(name, namedisp) != 0", taking true branch >yadex-1.7.0/src/lists.cc:223: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:224: cond_true: Condition "y_stricmp(name, list[n]) <= 0", taking true branch >yadex-1.7.0/src/lists.cc:225: break: Breaking from loop >yadex-1.7.0/src/lists.cc:226: cond_true: Condition "n < listsize", taking true branch >yadex-1.7.0/src/lists.cc:226: cond_false: Condition "!y_stricmp(name, list[n])", taking false branch >yadex-1.7.0/src/lists.cc:227: cond_false: Condition "n >= listsize", taking false branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "l < listdisp", taking true branch >yadex-1.7.0/src/lists.cc:236: cond_true: Condition "n + l < listsize", taking true branch >yadex-1.7.0/src/lists.cc:238: cond_false: Condition "false", taking false branch >yadex-1.7.0/src/lists.cc:243: if_end: End of if statement >yadex-1.7.0/src/lists.cc:249: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/lists.cc:236: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/lists.cc:236: cond_false: Condition "l < listdisp", taking false branch >yadex-1.7.0/src/lists.cc:249: loop_end: Reached end of loop >yadex-1.7.0/src/lists.cc:250: cond_false: Condition "l < listdisp", taking false branch >yadex-1.7.0/src/lists.cc:254: if_end: End of if statement >yadex-1.7.0/src/lists.cc:260: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:267: cond_true: Condition "hookfunc", taking true branch >yadex-1.7.0/src/lists.cc:284: cond_false: Condition "ok", taking false branch >yadex-1.7.0/src/lists.cc:289: else_branch: Reached else branch >yadex-1.7.0/src/lists.cc:303: cond_true: Condition "picture_size_drawn", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 2 /* HOOK_SIZE_VALID */", taking true branch >yadex-1.7.0/src/lists.cc:309: cond_true: Condition "c.flags & 4 /* HOOK_DISP_SIZE */", taking true branch >yadex-1.7.0/src/lists.cc:314: cond_true: Condition "strlen(size_buf) > 11UL /* size_chars */", taking true branch >yadex-1.7.0/src/lists.cc:347: cond_true: Condition "c.disp_x0 == 2147483647 /* BAD_VALUE */", taking true branch >yadex-1.7.0/src/lists.cc:381: if_end: End of if statement >yadex-1.7.0/src/lists.cc:391: cond_false: Condition "firstkey", taking false branch >yadex-1.7.0/src/lists.cc:395: if_end: End of if statement >yadex-1.7.0/src/lists.cc:398: cond_true: Condition "len < maxlen", taking true branch >yadex-1.7.0/src/lists.cc:398: cond_false: Condition "key >= 'a'", taking false branch >yadex-1.7.0/src/lists.cc:403: cond_true: Condition "len < maxlen", taking true branch >yadex-1.7.0/src/lists.cc:403: cond_true: Condition "key < 256", taking true branch >yadex-1.7.0/src/lists.cc:403: cond_false: Condition "key & 0x60", taking false branch >yadex-1.7.0/src/lists.cc:408: cond_true: Condition "len > 0", taking true branch >yadex-1.7.0/src/lists.cc:408: cond_false: Condition "key == 8 /* YK_BACKSPACE */", taking false branch >yadex-1.7.0/src/lists.cc:410: cond_false: Condition "key == 21", taking false branch >yadex-1.7.0/src/lists.cc:410: cond_false: Condition "key == 23", taking false branch >yadex-1.7.0/src/lists.cc:412: cond_false: Condition "key == 258 /* YK_DOWN */", taking false branch >yadex-1.7.0/src/lists.cc:427: cond_false: Condition "key == 276 /* YK_UP */", taking false branch >yadex-1.7.0/src/lists.cc:438: cond_false: Condition "key == 274 /* YK_PD */", taking false branch >yadex-1.7.0/src/lists.cc:438: cond_false: Condition "key == 6", taking false branch >yadex-1.7.0/src/lists.cc:438: cond_false: Condition "key == 22", taking false branch >yadex-1.7.0/src/lists.cc:445: cond_false: Condition "key == 273 /* YK_PU */", taking false branch >yadex-1.7.0/src/lists.cc:445: cond_false: Condition "key == 2", taking false branch >yadex-1.7.0/src/lists.cc:452: cond_false: Condition "key == 14", taking false branch >yadex-1.7.0/src/lists.cc:467: cond_false: Condition "key == 16", taking false branch >yadex-1.7.0/src/lists.cc:486: cond_false: Condition "key == (16658 /* YK_CTRL | YK_PD */)", taking false branch >yadex-1.7.0/src/lists.cc:486: cond_false: Condition "key == 259 /* YK_END */", taking false branch >yadex-1.7.0/src/lists.cc:495: cond_false: Condition "key == (16657 /* YK_CTRL | YK_PU */)", taking false branch >yadex-1.7.0/src/lists.cc:495: cond_false: Condition "key == 270 /* YK_HOME */", taking false branch >yadex-1.7.0/src/lists.cc:504: cond_false: Condition "key == 9 /* YK_TAB */", taking false branch >yadex-1.7.0/src/lists.cc:506: cond_false: Condition "key == 260 /* YK_F1 */", taking false branch >yadex-1.7.0/src/lists.cc:511: cond_false: Condition "key == 8452 /* YK_F1 + YK_SHIFT */", taking false branch >yadex-1.7.0/src/lists.cc:532: cond_false: Condition "key == 1", taking false branch >yadex-1.7.0/src/lists.cc:540: cond_true: Condition "key == 24", taking true branch >yadex-1.7.0/src/lists.cc:542: cond_true: Condition "maxpatches == 0", taking true branch >yadex-1.7.0/src/lists.cc:543: uninit_use: Using uninitialized value "c.npatches". > >Error: UNINIT (CWE-457): >yadex-1.7.0/src/s_misc.cc:276: cond_true: Condition "side == 1", taking true branch >yadex-1.7.0/src/s_misc.cc:281: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/s_misc.cc:287: if_end: End of if statement >yadex-1.7.0/src/s_misc.cc:294: cond_true: Condition "cur_vert != final_vert", taking true branch >yadex-1.7.0/src/s_misc.cc:298: var_decl: Declaring variable "next_side" without initializer. >yadex-1.7.0/src/s_misc.cc:304: cond_true: Condition "n < NumLineDefs", taking true branch >yadex-1.7.0/src/s_misc.cc:306: cond_true: Condition "n == line", taking true branch >yadex-1.7.0/src/s_misc.cc:307: continue: Continuing loop >yadex-1.7.0/src/s_misc.cc:304: cond_false: Condition "n < NumLineDefs", taking false branch >yadex-1.7.0/src/s_misc.cc:343: uninit_use: Using uninitialized value "next_side". > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/yadex.h:193: member_decl: Class member declaration for "ofs". >yadex-1.7.0/src/yadex.h:188: uninit_member: Non-static class member "ofs" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/yadex.h:194: member_decl: Class member declaration for "len". >yadex-1.7.0/src/yadex.h:188: uninit_member: Non-static class member "len" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/sticker.cc:53: member_decl: Class member declaration for "opaque". >yadex-1.7.0/src/sticker.cc:172: uninit_member: Non-static class member "opaque" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/sticker.cc:55: member_decl: Class member declaration for "width". >yadex-1.7.0/src/sticker.cc:172: uninit_member: Non-static class member "width" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/sticker.cc:56: member_decl: Class member declaration for "height". >yadex-1.7.0/src/sticker.cc:172: uninit_member: Non-static class member "height" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/sticker.cc:58: member_decl: Class member declaration for "ximage". >yadex-1.7.0/src/sticker.cc:172: uninit_member: Non-static class member "ximage" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/sticker.cc:59: member_decl: Class member declaration for "pixmap". >yadex-1.7.0/src/sticker.cc:172: uninit_member: Non-static class member "pixmap" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/sticker.cc:60: member_decl: Class member declaration for "mask". >yadex-1.7.0/src/sticker.cc:172: uninit_member: Non-static class member "mask" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/menu.cc:152: member_decl: Class member declaration for "menudata". >yadex-1.7.0/src/menu.cc:125: uninit_member: Non-static class member "menudata" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menu.cc:160: member_decl: Class member declaration for "ix0". >yadex-1.7.0/src/menu.cc:125: uninit_member: Non-static class member "ix0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menu.cc:160: member_decl: Class member declaration for "iy0". >yadex-1.7.0/src/menu.cc:125: uninit_member: Non-static class member "iy0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menu.cc:160: member_decl: Class member declaration for "ix1". >yadex-1.7.0/src/menu.cc:125: uninit_member: Non-static class member "ix1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menu.cc:160: member_decl: Class member declaration for "iy1". >yadex-1.7.0/src/menu.cc:125: uninit_member: Non-static class member "iy1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menu.cc:161: member_decl: Class member declaration for "ox1". >yadex-1.7.0/src/menu.cc:125: uninit_member: Non-static class member "ox1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menu.cc:161: member_decl: Class member declaration for "oy1". >yadex-1.7.0/src/menu.cc:125: uninit_member: Non-static class member "oy1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menu.cc:162: member_decl: Class member declaration for "width". >yadex-1.7.0/src/menu.cc:125: uninit_member: Non-static class member "width" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menu.cc:163: member_decl: Class member declaration for "height". >yadex-1.7.0/src/menu.cc:125: uninit_member: Non-static class member "height" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menu.cc:164: member_decl: Class member declaration for "ty0". >yadex-1.7.0/src/menu.cc:125: uninit_member: Non-static class member "ty0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menu.cc:165: member_decl: Class member declaration for "ly0". >yadex-1.7.0/src/menu.cc:125: uninit_member: Non-static class member "ly0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menu.cc:168: member_decl: Class member declaration for "ox0_disp". >yadex-1.7.0/src/menu.cc:125: uninit_member: Non-static class member "ox0_disp" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menu.cc:169: member_decl: Class member declaration for "oy0_disp". >yadex-1.7.0/src/menu.cc:125: uninit_member: Non-static class member "oy0_disp" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menu.cc:170: member_decl: Class member declaration for "width_disp". >yadex-1.7.0/src/menu.cc:125: uninit_member: Non-static class member "width_disp" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menu.cc:171: member_decl: Class member declaration for "height_disp". >yadex-1.7.0/src/menu.cc:125: uninit_member: Non-static class member "height_disp" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menu.cc:179: member_decl: Class member declaration for "_last_shortcut_key". >yadex-1.7.0/src/menu.cc:125: uninit_member: Non-static class member "_last_shortcut_key" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/menu.cc:72: member_decl: Class member declaration for "y". >yadex-1.7.0/src/menu.cc:67: uninit_member: Non-static class member "y" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/drawmap.cc:679: member_decl: Class member declaration for "width". >yadex-1.7.0/src/drawmap.cc:677: uninit_member: Non-static class member "width" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/drawmap.cc:680: member_decl: Class member declaration for "height". >yadex-1.7.0/src/drawmap.cc:677: uninit_member: Non-static class member "height" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/r_render.cc:165: member_decl: Class member declaration for "h1". >yadex-1.7.0/src/r_render.cc:180: uninit_member: Non-static class member "h1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/r_render.cc:165: member_decl: Class member declaration for "h2". >yadex-1.7.0/src/r_render.cc:180: uninit_member: Non-static class member "h2" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/r_render.cc:165: member_decl: Class member declaration for "tex_h". >yadex-1.7.0/src/r_render.cc:180: uninit_member: Non-static class member "tex_h" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/r_render.cc:169: member_decl: Class member declaration for "col". >yadex-1.7.0/src/r_render.cc:180: uninit_member: Non-static class member "col" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/r_render.cc:176: member_decl: Class member declaration for "y_clip". >yadex-1.7.0/src/r_render.cc:180: uninit_member: Non-static class member "y_clip" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/l_prop.cc:57: member_decl: Class member declaration for "buf". >yadex-1.7.0/src/l_prop.cc:68: uninit_member: Non-static class member "buf" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/s_prop.cc:53: member_decl: Class member declaration for "buf". >yadex-1.7.0/src/s_prop.cc:64: uninit_member: Non-static class member "buf" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/objinfo.cc:88: cond_true: Condition "n < 10UL /* objinfo_c::MAX_BOXES */", taking true branch >yadex-1.7.0/src/objinfo.cc:88: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/objinfo.cc:88: cond_true: Condition "n < 10UL /* objinfo_c::MAX_BOXES */", taking true branch >yadex-1.7.0/src/objinfo.cc:88: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/objinfo.cc:88: cond_false: Condition "n < 10UL /* objinfo_c::MAX_BOXES */", taking false branch >yadex-1.7.0/src/objinfo.h:72: member_decl: Class member declaration for "obj_type". >yadex-1.7.0/src/objinfo.cc:94: uninit_member: Non-static class member "obj_type" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/objinfo.h:74: member_decl: Class member declaration for "obj_type_disp". >yadex-1.7.0/src/objinfo.cc:94: uninit_member: Non-static class member "obj_type_disp" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/objinfo.h:76: member_decl: Class member declaration for "prev_floorh". >yadex-1.7.0/src/objinfo.cc:94: uninit_member: Non-static class member "prev_floorh" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/objinfo.h:77: member_decl: Class member declaration for "prev_ceilh". >yadex-1.7.0/src/objinfo.cc:94: uninit_member: Non-static class member "prev_ceilh" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/rgb.h:64: member_decl: Class member declaration for "r". >yadex-1.7.0/src/rgb.h:39: uninit_member: Non-static class member "r" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/rgb.h:65: member_decl: Class member declaration for "g". >yadex-1.7.0/src/rgb.h:39: uninit_member: Non-static class member "g" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/rgb.h:66: member_decl: Class member declaration for "b". >yadex-1.7.0/src/rgb.h:39: uninit_member: Non-static class member "b" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/infobar.h:128: member_decl: Class member declaration for "pointer_x". >yadex-1.7.0/src/infobar.cc:72: uninit_member: Non-static class member "pointer_x" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/infobar.h:129: member_decl: Class member declaration for "pointer_x_disp". >yadex-1.7.0/src/infobar.cc:72: uninit_member: Non-static class member "pointer_x_disp" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/infobar.h:130: member_decl: Class member declaration for "pointer_y". >yadex-1.7.0/src/infobar.cc:72: uninit_member: Non-static class member "pointer_y" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/infobar.h:131: member_decl: Class member declaration for "pointer_y_disp". >yadex-1.7.0/src/infobar.cc:72: uninit_member: Non-static class member "pointer_y_disp" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/infobar.h:133: member_decl: Class member declaration for "out_x0". >yadex-1.7.0/src/infobar.cc:72: uninit_member: Non-static class member "out_x0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/infobar.h:134: member_decl: Class member declaration for "out_y0". >yadex-1.7.0/src/infobar.cc:72: uninit_member: Non-static class member "out_y0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/infobar.h:135: member_decl: Class member declaration for "out_x1". >yadex-1.7.0/src/infobar.cc:72: uninit_member: Non-static class member "out_x1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/infobar.h:136: member_decl: Class member declaration for "out_y1". >yadex-1.7.0/src/infobar.cc:72: uninit_member: Non-static class member "out_y1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/infobar.h:137: member_decl: Class member declaration for "text_x0". >yadex-1.7.0/src/infobar.cc:72: uninit_member: Non-static class member "text_x0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/infobar.h:138: member_decl: Class member declaration for "text_y0". >yadex-1.7.0/src/infobar.cc:72: uninit_member: Non-static class member "text_y0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/infobar.h:139: member_decl: Class member declaration for "text_x1". >yadex-1.7.0/src/infobar.cc:72: uninit_member: Non-static class member "text_x1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/infobar.h:140: member_decl: Class member declaration for "text_y1". >yadex-1.7.0/src/infobar.cc:72: uninit_member: Non-static class member "text_y1" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/menubar.h:91: member_decl: Class member declaration for "menubar_out_x0". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "menubar_out_x0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menubar.h:92: member_decl: Class member declaration for "menubar_out_x1". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "menubar_out_x1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menubar.h:93: member_decl: Class member declaration for "menubar_out_y0". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "menubar_out_y0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menubar.h:94: member_decl: Class member declaration for "menubar_out_y1". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "menubar_out_y1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menubar.h:95: member_decl: Class member declaration for "menubar_in_x0". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "menubar_in_x0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menubar.h:96: member_decl: Class member declaration for "menubar_in_x1". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "menubar_in_x1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menubar.h:97: member_decl: Class member declaration for "menubar_in_y0". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "menubar_in_y0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menubar.h:98: member_decl: Class member declaration for "menubar_in_y1". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "menubar_in_y1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menubar.h:99: member_decl: Class member declaration for "menubar_text_x0". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "menubar_text_x0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menubar.h:100: member_decl: Class member declaration for "menubar_text_x1". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "menubar_text_x1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menubar.h:101: member_decl: Class member declaration for "menubar_text_y0". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "menubar_text_y0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menubar.h:102: member_decl: Class member declaration for "menubar_text_y1". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "menubar_text_y1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menubar.h:105: member_decl: Class member declaration for "item_text". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "item_text" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menubar.h:106: member_decl: Class member declaration for "item_shortcut_index". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "item_shortcut_index" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menubar.h:107: member_decl: Class member declaration for "item_right_aligned". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "item_right_aligned" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menubar.h:108: member_decl: Class member declaration for "item_menu". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "item_menu" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menubar.h:111: member_decl: Class member declaration for "item_x0". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "item_x0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/menubar.h:112: member_decl: Class member declaration for "item_x1". >yadex-1.7.0/src/menubar.cc:74: uninit_member: Non-static class member "item_x1" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/selbox.h:37: member_decl: Class member declaration for "x1". >yadex-1.7.0/src/selbox.cc:45: uninit_member: Non-static class member "x1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/selbox.h:38: member_decl: Class member declaration for "y1". >yadex-1.7.0/src/selbox.cc:45: uninit_member: Non-static class member "y1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/selbox.h:39: member_decl: Class member declaration for "x2". >yadex-1.7.0/src/selbox.cc:45: uninit_member: Non-static class member "x2" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/selbox.h:40: member_decl: Class member declaration for "y2". >yadex-1.7.0/src/selbox.cc:45: uninit_member: Non-static class member "y2" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/selbox.h:41: member_decl: Class member declaration for "x1_disp". >yadex-1.7.0/src/selbox.cc:45: uninit_member: Non-static class member "x1_disp" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/selbox.h:42: member_decl: Class member declaration for "y1_disp". >yadex-1.7.0/src/selbox.cc:45: uninit_member: Non-static class member "y1_disp" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/selbox.h:43: member_decl: Class member declaration for "x2_disp". >yadex-1.7.0/src/selbox.cc:45: uninit_member: Non-static class member "x2_disp" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/selbox.h:44: member_decl: Class member declaration for "y2_disp". >yadex-1.7.0/src/selbox.cc:45: uninit_member: Non-static class member "y2_disp" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/spot.h:84: member_decl: Class member declaration for "x". >yadex-1.7.0/src/spot.h:41: uninit_member: Non-static class member "x" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/spot.h:85: member_decl: Class member declaration for "y". >yadex-1.7.0/src/spot.h:41: uninit_member: Non-static class member "y" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/spot.h:86: member_decl: Class member declaration for "x_disp". >yadex-1.7.0/src/spot.h:41: uninit_member: Non-static class member "x_disp" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/spot.h:87: member_decl: Class member declaration for "y_disp". >yadex-1.7.0/src/spot.h:41: uninit_member: Non-static class member "y_disp" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/edisplay.h:24: member_decl: Class member declaration for "requested_highlight". >yadex-1.7.0/src/edisplay.cc:83: uninit_member: Non-static class member "requested_highlight" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/edisplay.h:25: member_decl: Class member declaration for "actual_highlight". >yadex-1.7.0/src/edisplay.cc:83: uninit_member: Non-static class member "actual_highlight" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/entry2.cc:41: cond_true: Condition "title", taking true branch >yadex-1.7.0/src/entry2.cc:57: cond_true: Condition "f < this->nfields", taking true branch >yadex-1.7.0/src/entry2.cc:57: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/entry2.cc:57: cond_true: Condition "f < this->nfields", taking true branch >yadex-1.7.0/src/entry2.cc:57: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/entry2.cc:57: cond_false: Condition "f < this->nfields", taking false branch >yadex-1.7.0/src/entry2.h:87: member_decl: Class member declaration for "outer_width". >yadex-1.7.0/src/entry2.cc:73: uninit_member: Non-static class member "outer_width" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/entry2.h:88: member_decl: Class member declaration for "outer_height". >yadex-1.7.0/src/entry2.cc:73: uninit_member: Non-static class member "outer_height" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/entry2.h:89: member_decl: Class member declaration for "vstep". >yadex-1.7.0/src/entry2.cc:73: uninit_member: Non-static class member "vstep" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/entry2.h:92: member_decl: Class member declaration for "win_x1". >yadex-1.7.0/src/entry2.cc:73: uninit_member: Non-static class member "win_x1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/entry2.h:93: member_decl: Class member declaration for "win_y1". >yadex-1.7.0/src/entry2.cc:73: uninit_member: Non-static class member "win_y1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/entry2.h:94: member_decl: Class member declaration for "title_x0". >yadex-1.7.0/src/entry2.cc:73: uninit_member: Non-static class member "title_x0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/entry2.h:95: member_decl: Class member declaration for "title_y0". >yadex-1.7.0/src/entry2.cc:73: uninit_member: Non-static class member "title_y0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/entry2.h:96: member_decl: Class member declaration for "caption_x0". >yadex-1.7.0/src/entry2.cc:73: uninit_member: Non-static class member "caption_x0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/entry2.h:97: member_decl: Class member declaration for "caption_y0". >yadex-1.7.0/src/entry2.cc:73: uninit_member: Non-static class member "caption_y0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/entry2.h:98: member_decl: Class member declaration for "entry_box_x0". >yadex-1.7.0/src/entry2.cc:73: uninit_member: Non-static class member "entry_box_x0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/entry2.h:99: member_decl: Class member declaration for "entry_box_y0". >yadex-1.7.0/src/entry2.cc:73: uninit_member: Non-static class member "entry_box_y0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/entry2.h:100: member_decl: Class member declaration for "entry_box_x1". >yadex-1.7.0/src/entry2.cc:73: uninit_member: Non-static class member "entry_box_x1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/entry2.h:101: member_decl: Class member declaration for "entry_box_y1". >yadex-1.7.0/src/entry2.cc:73: uninit_member: Non-static class member "entry_box_y1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/entry2.h:102: member_decl: Class member declaration for "entry_text_x0". >yadex-1.7.0/src/entry2.cc:73: uninit_member: Non-static class member "entry_text_x0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/entry2.h:103: member_decl: Class member declaration for "entry_text_y0". >yadex-1.7.0/src/entry2.cc:73: uninit_member: Non-static class member "entry_text_y0" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/entry2.h:104: member_decl: Class member declaration for "entry_text_x1". >yadex-1.7.0/src/entry2.cc:73: uninit_member: Non-static class member "entry_text_x1" is not initialized in this constructor nor in any functions that it calls. >yadex-1.7.0/src/entry2.h:105: member_decl: Class member declaration for "entry_text_y1". >yadex-1.7.0/src/entry2.cc:73: uninit_member: Non-static class member "entry_text_y1" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/dependcy.h:42: member_decl: Class member declaration for "token". >yadex-1.7.0/src/dependcy.cc:40: uninit_member: Non-static class member "token" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/locate.cc:56: cond_true: Condition "is_absolute(name)", taking true branch >yadex-1.7.0/src/locate.h:41: member_decl: Class member declaration for "pathname". >yadex-1.7.0/src/locate.cc:59: uninit_member: Non-static class member "pathname" is not initialized in this constructor nor in any functions that it calls. > >Error: UNINIT_CTOR (CWE-457): >yadex-1.7.0/src/lumpdir.h:116: member_decl: Class member declaration for "name_prev". >yadex-1.7.0/src/lumpdir.cc:56: uninit_member: Non-static class member "name_prev" is not initialized in this constructor nor in any functions that it calls. > >Error: UNREACHABLE (CWE-561): >yadex-1.7.0/src/entry2.cc:123: unreachable: This code cannot be reached: "nop();". > >Error: VARARGS (CWE-234): >yadex-1.7.0/src/aym.cc:247: va_init: Initializing va_list "args". >yadex-1.7.0/src/aym.cc:249: missing_va_end: va_end was not called for "args". > >Error: VARARGS (CWE-234): >yadex-1.7.0/src/verbmsg.cc:41: cond_false: Condition "!verbose", taking false branch >yadex-1.7.0/src/verbmsg.cc:43: va_init: Initializing va_list "args". >yadex-1.7.0/src/verbmsg.cc:45: missing_va_end: va_end was not called for "args". > >Error: VARARGS (CWE-234): >yadex-1.7.0/src/warn.cc:47: cond_true: Condition "start_of_line", taking true branch >yadex-1.7.0/src/warn.cc:49: va_init: Initializing va_list "args". >yadex-1.7.0/src/warn.cc:52: cond_true: Condition "len > 0", taking true branch >yadex-1.7.0/src/warn.cc:52: cond_true: Condition "fmt[len - 1] == '\n'", taking true branch >yadex-1.7.0/src/warn.cc:53: missing_va_end: va_end was not called for "args". > >Error: VARARGS (CWE-234): >yadex-1.7.0/src/yadex.cc:604: va_init: Initializing va_list "args". >yadex-1.7.0/src/yadex.cc:606: cond_true: Condition "first_time", taking true branch >yadex-1.7.0/src/yadex.cc:609: cond_true: Condition "repeats", taking true branch >yadex-1.7.0/src/yadex.cc:618: cond_true: Condition "first_time", taking true branch >yadex-1.7.0/src/yadex.cc:624: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/yadex.cc:636: if_end: End of if statement >yadex-1.7.0/src/yadex.cc:637: missing_va_end: va_end was not called for "args". > >Error: VARARGS (CWE-234): >yadex-1.7.0/src/yadex.cc:565: va_init: Initializing va_list "args". >yadex-1.7.0/src/yadex.cc:567: missing_va_end: va_end was not called for "args". > >Error: VARARGS (CWE-234): >yadex-1.7.0/src/gfx.cc:1389: cond_false: Condition "msg == NULL", taking false branch >yadex-1.7.0/src/gfx.cc:1402: if_end: End of if statement >yadex-1.7.0/src/gfx.cc:1404: va_init: Initializing va_list "args". >yadex-1.7.0/src/gfx.cc:1407: missing_va_end: va_end was not called for "args". > >Error: VARARGS (CWE-234): >yadex-1.7.0/src/dialog.cc:212: va_init: Initializing va_list "args". >yadex-1.7.0/src/dialog.cc:216: cond_true: Condition "x0 < 0", taking true branch >yadex-1.7.0/src/dialog.cc:218: cond_true: Condition "y0 < 0", taking true branch >yadex-1.7.0/src/dialog.cc:228: missing_va_end: va_end was not called for "args". > >Error: VARARGS (CWE-234): >yadex-1.7.0/src/yadex.cc:650: cond_true: Condition "Debug", taking true branch >yadex-1.7.0/src/yadex.cc:650: cond_true: Condition "logfile != NULL", taking true branch >yadex-1.7.0/src/yadex.cc:652: va_init: Initializing va_list "args". >yadex-1.7.0/src/yadex.cc:654: cond_true: Condition "logstr[0] == ':'", taking true branch >yadex-1.7.0/src/yadex.cc:664: missing_va_end: va_end was not called for "args". > >Error: VARARGS (CWE-234): >yadex-1.7.0/src/macro.cc:86: cond_true: Condition "*fmt", taking true branch >yadex-1.7.0/src/macro.cc:98: cond_true: Condition "macro_name = va_arg (l, char const *)", taking true branch >yadex-1.7.0/src/macro.cc:103: cond_true: Condition "len1 >= len2", taking true branch >yadex-1.7.0/src/macro.cc:103: cond_true: Condition "!memcmp(fmt, macro_name, len2)", taking true branch >yadex-1.7.0/src/macro.cc:104: break: Breaking from loop >yadex-1.7.0/src/macro.cc:105: loop_end: Reached end of loop >yadex-1.7.0/src/macro.cc:106: cond_true: Condition "macro_name != NULL", taking true branch >yadex-1.7.0/src/macro.cc:109: cond_true: Condition "macro_value == NULL", taking true branch >yadex-1.7.0/src/macro.cc:111: cond_true: Condition "rc == 0", taking true branch >yadex-1.7.0/src/macro.cc:113: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/macro.cc:117: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/macro.cc:122: if_end: End of if statement >yadex-1.7.0/src/macro.cc:123: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/macro.cc:86: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/macro.cc:86: cond_true: Condition "*fmt", taking true branch >yadex-1.7.0/src/macro.cc:98: cond_true: Condition "macro_name = va_arg (l, char const *)", taking true branch >yadex-1.7.0/src/macro.cc:103: cond_true: Condition "len1 >= len2", taking true branch >yadex-1.7.0/src/macro.cc:103: cond_true: Condition "!memcmp(fmt, macro_name, len2)", taking true branch >yadex-1.7.0/src/macro.cc:104: break: Breaking from loop >yadex-1.7.0/src/macro.cc:105: loop_end: Reached end of loop >yadex-1.7.0/src/macro.cc:106: cond_true: Condition "macro_name != NULL", taking true branch >yadex-1.7.0/src/macro.cc:109: cond_true: Condition "macro_value == NULL", taking true branch >yadex-1.7.0/src/macro.cc:111: cond_false: Condition "rc == 0", taking false branch >yadex-1.7.0/src/macro.cc:113: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/macro.cc:117: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/macro.cc:122: if_end: End of if statement >yadex-1.7.0/src/macro.cc:123: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/macro.cc:86: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/macro.cc:86: cond_true: Condition "*fmt", taking true branch >yadex-1.7.0/src/macro.cc:98: cond_true: Condition "macro_name = va_arg (l, char const *)", taking true branch >yadex-1.7.0/src/macro.cc:103: cond_true: Condition "len1 >= len2", taking true branch >yadex-1.7.0/src/macro.cc:103: cond_true: Condition "!memcmp(fmt, macro_name, len2)", taking true branch >yadex-1.7.0/src/macro.cc:104: break: Breaking from loop >yadex-1.7.0/src/macro.cc:105: loop_end: Reached end of loop >yadex-1.7.0/src/macro.cc:106: cond_true: Condition "macro_name != NULL", taking true branch >yadex-1.7.0/src/macro.cc:109: cond_false: Condition "macro_value == NULL", taking false branch >yadex-1.7.0/src/macro.cc:117: if_fallthrough: Falling through to end of if statement >yadex-1.7.0/src/macro.cc:122: if_end: End of if statement >yadex-1.7.0/src/macro.cc:123: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/macro.cc:86: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/macro.cc:86: cond_true: Condition "*fmt", taking true branch >yadex-1.7.0/src/macro.cc:93: va_init: Initializing va_list "l". >yadex-1.7.0/src/macro.cc:98: cond_true: Condition "macro_name = va_arg (l, char const *)", taking true branch >yadex-1.7.0/src/macro.cc:103: cond_true: Condition "len1 >= len2", taking true branch >yadex-1.7.0/src/macro.cc:103: cond_false: Condition "!memcmp(fmt, macro_name, len2)", taking false branch >yadex-1.7.0/src/macro.cc:105: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/macro.cc:98: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/macro.cc:98: cond_false: Condition "macro_name = va_arg (l, char const *)", taking false branch >yadex-1.7.0/src/macro.cc:105: loop_end: Reached end of loop >yadex-1.7.0/src/macro.cc:106: cond_false: Condition "macro_name != NULL", taking false branch >yadex-1.7.0/src/macro.cc:119: else_branch: Reached else branch >yadex-1.7.0/src/macro.cc:123: loop: Jumping back to the beginning of the loop >yadex-1.7.0/src/macro.cc:86: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/macro.cc:86: cond_false: Condition "*fmt", taking false branch >yadex-1.7.0/src/macro.cc:123: loop_end: Reached end of loop >yadex-1.7.0/src/macro.cc:124: missing_va_end: va_end was not called for "l". > >Error: VARARGS (CWE-234): >yadex-1.7.0/src/entry2.cc:41: cond_true: Condition "title", taking true branch >yadex-1.7.0/src/entry2.cc:52: va_init: Initializing va_list "args". >yadex-1.7.0/src/entry2.cc:57: cond_true: Condition "f < this->nfields", taking true branch >yadex-1.7.0/src/entry2.cc:57: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/entry2.cc:57: cond_true: Condition "f < this->nfields", taking true branch >yadex-1.7.0/src/entry2.cc:57: loop_begin: Jumped back to beginning of loop >yadex-1.7.0/src/entry2.cc:57: cond_false: Condition "f < this->nfields", taking false branch >yadex-1.7.0/src/entry2.cc:73: missing_va_end: va_end was not called for "args". > >Error: VARARGS (CWE-234): >yadex-1.7.0/src/macro.cc:74: va_init: Initializing va_list "list". >yadex-1.7.0/src/macro.cc:75: missing_va_end: va_end was not called for "list". > >Error: VARARGS (CWE-234): >yadex-1.7.0/scripts/ftime.c:168: va_init: Initializing va_list "list". >yadex-1.7.0/scripts/ftime.c:171: missing_va_end: va_end was not called for "list". > >Error: VARARGS (CWE-234): >yadex-1.7.0/src/dialog.cc:193: cond_false: Condition "Debug != 1", taking false branch >yadex-1.7.0/src/dialog.cc:195: va_init: Initializing va_list "arglist". >yadex-1.7.0/src/dialog.cc:201: missing_va_end: va_end was not called for "arglist". > >Error: VARARGS (CWE-234): >yadex-1.7.0/src/aym.cc:293: va_init: Initializing va_list "args". >yadex-1.7.0/src/aym.cc:294: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/aym.cc:297: cond_false: Condition "haystack == NULL", taking false branch >yadex-1.7.0/src/aym.cc:299: cond_true: Condition "!strcmp(needle, haystack)", taking true branch >yadex-1.7.0/src/aym.cc:300: missing_va_end: va_end was not called for "args". > >Error: VARARGS (CWE-234): >yadex-1.7.0/src/aym.cc:293: va_init: Initializing va_list "args". >yadex-1.7.0/src/aym.cc:294: cond_true: Condition "true", taking true branch >yadex-1.7.0/src/aym.cc:297: cond_true: Condition "haystack == NULL", taking true branch >yadex-1.7.0/src/aym.cc:298: break: Breaking from loop >yadex-1.7.0/src/aym.cc:301: loop_end: Reached end of loop >yadex-1.7.0/src/aym.cc:302: missing_va_end: va_end was not called for "args".
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 895608
:
678870
| 678871