Creating test case using base program. Added an environment variable read to get a filename to read in the file contents using an fread operation within the function Completed injection. UNSPECIFIED UNSPECIFIED $SS_TC_ROOT/$SS_TC_INSTALL/bin/gimp $SS_TC_ROOT/testData/input.jpg env ./configure --prefix="$SS_TC_ROOT/$SS_TC_INSTALL" --disable-alsatest --without-libmng --without-libexif --without-aa --without-librsvg --without-poppler --without-gvfs --without-libjasper --with-lcms --without-alsa --disable-python make V=1 CC="$SS_CC" make install V=1 Open saved jpg file Has a buffer declared on the heap. malloc(64*sizeOf(char)) If input is shorter than 64 it will overflowdue to using improper sizeof and strlen checking NONE /opt/stonesoup/workspace/testData/underchime_ahuzzath/spartein_dyaus.txt AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAAAAAAAAAAAAAAAA $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 1 GOOD-01 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT input image opened. DOES_NOT_RETURN CONTROLLED_EXIT color invert an image Has a buffer declared on the heap. malloc(64*sizeOf(char)) If input is shorter than 64 it will overflowdue to using improper sizeof and strlen checking NONE /opt/stonesoup/workspace/testData/underchime_ahuzzath/spartein_dyaus.txt Hello World! If this statement isn't more than 64 characters, it will go badly $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 1 GOOD-02 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT image colors inverted DOES_NOT_RETURN CONTROLLED_EXIT create a layer, fill with black, use divde layer mode Has a buffer declared on the heap. malloc(64*sizeOf(char)) If input is shorter than 64 it will overflowdue to using improper sizeof and strlen checking NONE /opt/stonesoup/workspace/testData/underchime_ahuzzath/spartein_dyaus.txt Short is good for buffer overflows, unless you make a mistake and get it wrong $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 1 GOOD-03 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT Layer created, and layer mode changed. DOES_NOT_RETURN CONTROLLED_EXIT view color histogram of image Has a buffer declared on the heap. malloc(64*sizeOf(char)) If input is shorter than 64 it will overflowdue to using improper sizeof and strlen checking NONE /opt/stonesoup/workspace/testData/underchime_ahuzzath/spartein_dyaus.txt AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAAAAAAAAAAAAAAAA $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 1 GOOD-04 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT Histogram of image generated. DOES_NOT_RETURN CONTROLLED_EXIT add supernova filter Has a buffer declared on the heap. malloc(64*sizeOf(char)) If input is shorter than 64 it will overflowdue to using improper sizeof and strlen checking NONE /opt/stonesoup/workspace/testData/underchime_ahuzzath/spartein_dyaus.txt Hello World! If this statement isn't more than 64 characters, it will go badly $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 1 GOOD-05 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT supernova added DOES_NOT_RETURN CONTROLLED_EXIT make selection with magic wand, paste into new image Has a buffer declared on the heap. malloc(64*sizeOf(char)) If input is shorter than 64 it will overflowdue to using improper sizeof and strlen checking NONE /opt/stonesoup/workspace/testData/underchime_ahuzzath/spartein_dyaus.txt Short is good for buffer overflows, unless you make a mistake and get it wrong $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 1 GOOD-06 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT Magic Wand selection pasted into new document. DOES_NOT_RETURN CONTROLLED_EXIT rotate image 180 degrees Has a buffer declared on the heap. malloc(64*sizeOf(char)) If input is shorter than 64 it will overflowdue to using improper sizeof and strlen checking NONE /opt/stonesoup/workspace/testData/underchime_ahuzzath/spartein_dyaus.txt AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAAAAAAAAAAAAAAAA $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 1 GOOD-07 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT Image rotated 180 degrees. DOES_NOT_RETURN CONTROLLED_EXIT add pagecurl filter Has a buffer declared on the heap. malloc(64*sizeOf(char)) If input is shorter than 64 it will overflowdue to using improper sizeof and strlen checking NONE /opt/stonesoup/workspace/testData/underchime_ahuzzath/spartein_dyaus.txt Hello World! If this statement isn't more than 64 characters, it will go badly $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 1 GOOD-08 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT pagecurl added DOES_NOT_RETURN CONTROLLED_EXIT use edgefinder filter Has a buffer declared on the heap. malloc(64*sizeOf(char)) If input is shorter than 64 it will overflowdue to using improper sizeof and strlen checking NONE /opt/stonesoup/workspace/testData/underchime_ahuzzath/spartein_dyaus.txt Short is good for buffer overflows, unless you make a mistake and get it wrong $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 1 GOOD-09 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT pagecurl added DOES_NOT_RETURN CONTROLLED_EXIT pixelize image Has a buffer declared on the heap. malloc(64*sizeOf(char)) If input is shorter than 64 it will overflowdue to using improper sizeof and strlen checking NONE /opt/stonesoup/workspace/testData/underchime_ahuzzath/spartein_dyaus.txt AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAAAAAAAAAAAAAAAA $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 1 GOOD-10 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT image pixelized. DOES_NOT_RETURN CONTROLLED_EXIT Has a buffer declared on the heap. malloc(64*sizeOf(char)) If input is shorter than 64 it will overflowdue to using improper sizeof and strlen checking DOS_UNCONTROLLED_EXIT /opt/stonesoup/workspace/testData/underchime_ahuzzath/spartein_dyaus.txt AAAAAAAAAAAAAAA $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 1 weakness_started_hTszdYCzCNXBWsAGr0ja AND ((NOT PERFORMER AND (segfault_code_if5js32mDP OR segfault_code_DmUbr4FT1u OR segfault_code_4EtEa5wr2R OR segfault_code_vMMI025iq7 OR segfault_code_MKd1IFXytk OR segfault_msg_ygdAy38ifo OR illegal_inst_msg_VorR8TkfKx OR segfault_glibc_4dyPCHHKYA) AND NOT timeout_c7DxgBgVGh) or (PERFORMER AND NOT ((segfault_code_if5js32mDP OR segfault_code_DmUbr4FT1u OR segfault_code_4EtEa5wr2R OR segfault_code_vMMI025iq7 OR segfault_code_MKd1IFXytk OR segfault_msg_ygdAy38ifo OR illegal_inst_msg_VorR8TkfKx OR segfault_glibc_4dyPCHHKYA) OR timeout_c7DxgBgVGh))) (NOT PERFORMER AND (segfault_code_if5js32mDP OR segfault_code_DmUbr4FT1u OR segfault_code_4EtEa5wr2R OR segfault_code_vMMI025iq7 OR segfault_code_MKd1IFXytk OR segfault_msg_ygdAy38ifo OR illegal_inst_msg_VorR8TkfKx OR segfault_glibc_4dyPCHHKYA) AND NOT timeout_c7DxgBgVGh) or (PERFORMER AND NOT ((segfault_code_if5js32mDP OR segfault_code_DmUbr4FT1u OR segfault_code_4EtEa5wr2R OR segfault_code_vMMI025iq7 OR segfault_code_MKd1IFXytk OR segfault_msg_ygdAy38ifo OR illegal_inst_msg_VorR8TkfKx OR segfault_glibc_4dyPCHHKYA) OR timeout_c7DxgBgVGh)) DOES_NOT_RETURN CONTROLLED_EXIT CONTINUED_EXECUTION None 132 None 134 None 135 None 136 None 139 None Segmentation fault None Illegal instruction None glibc detected None stonesoup_trace:weakness_start Has a buffer declared on the heap. malloc(64*sizeOf(char)) If input is shorter than 64 it will overflowdue to using improper sizeof and strlen checking DOS_UNCONTROLLED_EXIT /opt/stonesoup/workspace/testData/underchime_ahuzzath/spartein_dyaus.txt Short is now bad $SS_TC_ROOT/logs/execute/lttng $SS_TC_DEPS/lib64/liblttng-stonesoup-c.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so 1 weakness_started_gXSz9MzeCuLlOwUbmtZS AND ((NOT PERFORMER AND (segfault_code_AIJtymijkl OR segfault_code_aWQ5NEtBAd OR segfault_code_tEIr28yHBg OR segfault_code_mUTkSR5gLk OR segfault_code_7zgMCCkOub OR segfault_msg_dBUApBwpkd OR illegal_inst_msg_mmWBBjcjVi OR segfault_glibc_ialYeBgn3i) AND NOT timeout_rOJkMVxxto) or (PERFORMER AND NOT ((segfault_code_AIJtymijkl OR segfault_code_aWQ5NEtBAd OR segfault_code_tEIr28yHBg OR segfault_code_mUTkSR5gLk OR segfault_code_7zgMCCkOub OR segfault_msg_dBUApBwpkd OR illegal_inst_msg_mmWBBjcjVi OR segfault_glibc_ialYeBgn3i) OR timeout_rOJkMVxxto))) (NOT PERFORMER AND (segfault_code_AIJtymijkl OR segfault_code_aWQ5NEtBAd OR segfault_code_tEIr28yHBg OR segfault_code_mUTkSR5gLk OR segfault_code_7zgMCCkOub OR segfault_msg_dBUApBwpkd OR illegal_inst_msg_mmWBBjcjVi OR segfault_glibc_ialYeBgn3i) AND NOT timeout_rOJkMVxxto) or (PERFORMER AND NOT ((segfault_code_AIJtymijkl OR segfault_code_aWQ5NEtBAd OR segfault_code_tEIr28yHBg OR segfault_code_mUTkSR5gLk OR segfault_code_7zgMCCkOub OR segfault_msg_dBUApBwpkd OR illegal_inst_msg_mmWBBjcjVi OR segfault_glibc_ialYeBgn3i) OR timeout_rOJkMVxxto)) DOES_NOT_RETURN CONTROLLED_EXIT CONTINUED_EXECUTION None 132 None 134 None 135 None 136 None 139 None Segmentation fault None Illegal instruction None glibc detected None stonesoup_trace:weakness_start