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/toponymical_pyopneumothorax/yardang_nonprescription.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/toponymical_pyopneumothorax/yardang_nonprescription.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/toponymical_pyopneumothorax/yardang_nonprescription.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/toponymical_pyopneumothorax/yardang_nonprescription.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/toponymical_pyopneumothorax/yardang_nonprescription.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/toponymical_pyopneumothorax/yardang_nonprescription.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/toponymical_pyopneumothorax/yardang_nonprescription.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/toponymical_pyopneumothorax/yardang_nonprescription.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/toponymical_pyopneumothorax/yardang_nonprescription.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/toponymical_pyopneumothorax/yardang_nonprescription.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/toponymical_pyopneumothorax/yardang_nonprescription.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_rOMIuFRiYQhFMSfeC6f9 AND ((NOT PERFORMER AND (segfault_code_BHt0A3V2Mp OR segfault_code_FosNDoYWCI OR segfault_code_OwsC0NEu09 OR segfault_code_rueh05MxGo OR segfault_code_ur5m6fBu5j OR segfault_msg_RhqPQMWNpc OR illegal_inst_msg_uGCOOgSGoG OR segfault_glibc_DT0vhotdR4) AND NOT timeout_tiU6DGqByp) or (PERFORMER AND NOT ((segfault_code_BHt0A3V2Mp OR segfault_code_FosNDoYWCI OR segfault_code_OwsC0NEu09 OR segfault_code_rueh05MxGo OR segfault_code_ur5m6fBu5j OR segfault_msg_RhqPQMWNpc OR illegal_inst_msg_uGCOOgSGoG OR segfault_glibc_DT0vhotdR4) OR timeout_tiU6DGqByp))) (NOT PERFORMER AND (segfault_code_BHt0A3V2Mp OR segfault_code_FosNDoYWCI OR segfault_code_OwsC0NEu09 OR segfault_code_rueh05MxGo OR segfault_code_ur5m6fBu5j OR segfault_msg_RhqPQMWNpc OR illegal_inst_msg_uGCOOgSGoG OR segfault_glibc_DT0vhotdR4) AND NOT timeout_tiU6DGqByp) or (PERFORMER AND NOT ((segfault_code_BHt0A3V2Mp OR segfault_code_FosNDoYWCI OR segfault_code_OwsC0NEu09 OR segfault_code_rueh05MxGo OR segfault_code_ur5m6fBu5j OR segfault_msg_RhqPQMWNpc OR illegal_inst_msg_uGCOOgSGoG OR segfault_glibc_DT0vhotdR4) OR timeout_tiU6DGqByp)) 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/toponymical_pyopneumothorax/yardang_nonprescription.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_7fki7eSkcLmUMzamKFvc AND ((NOT PERFORMER AND (segfault_code_r9xtIXMEg6 OR segfault_code_y91j40EKIB OR segfault_code_kbRSI2Rqw7 OR segfault_code_9QDNXq4LLe OR segfault_code_12XsoSok2K OR segfault_msg_mfxNeDGbHZ OR illegal_inst_msg_MhBBV22COt OR segfault_glibc_P0X5FZ1SB9) AND NOT timeout_Rv76oC0C0Z) or (PERFORMER AND NOT ((segfault_code_r9xtIXMEg6 OR segfault_code_y91j40EKIB OR segfault_code_kbRSI2Rqw7 OR segfault_code_9QDNXq4LLe OR segfault_code_12XsoSok2K OR segfault_msg_mfxNeDGbHZ OR illegal_inst_msg_MhBBV22COt OR segfault_glibc_P0X5FZ1SB9) OR timeout_Rv76oC0C0Z))) (NOT PERFORMER AND (segfault_code_r9xtIXMEg6 OR segfault_code_y91j40EKIB OR segfault_code_kbRSI2Rqw7 OR segfault_code_9QDNXq4LLe OR segfault_code_12XsoSok2K OR segfault_msg_mfxNeDGbHZ OR illegal_inst_msg_MhBBV22COt OR segfault_glibc_P0X5FZ1SB9) AND NOT timeout_Rv76oC0C0Z) or (PERFORMER AND NOT ((segfault_code_r9xtIXMEg6 OR segfault_code_y91j40EKIB OR segfault_code_kbRSI2Rqw7 OR segfault_code_9QDNXq4LLe OR segfault_code_12XsoSok2K OR segfault_msg_mfxNeDGbHZ OR illegal_inst_msg_MhBBV22COt OR segfault_glibc_P0X5FZ1SB9) OR timeout_Rv76oC0C0Z)) 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