Package: giftrans Version: 1.12.2-16 Reproducer cmdline: giftrans -l a4ac94f0_reproducer Command output: Global Color Table: Color 0: Red 253, Green 253, Blue 4, #fdfd04 Color 1: Red 253, Green 253, Blue 252, #fdfdfc Color 2: Red 5, Green 5, Blue 5, #050505 (gray2, grey2) Color 3: Red 244, Green 244, Blue 0, #f4f400 Color 4: Red 236, Green 236, Blue 0, #ecec00 Color 5: Red 204, Green 204, Blue 0, #cccc00 Color 6: Red 226, Green 226, Blue 0, #e2e200 Color 7: Red 212, Green 212, Blue 0, #d4d400 Color 8: Red 197, Green 197, Blue 0, #c5c500 Color 9: Red 116, Green 116, Blue 0, #747400 Color 10: Red 180, Green 180, Blue 0, #b4b400 Color 11: Red 186, Green 186, Blue 0, #baba00 Color 12: Red 164, Green 164, Blue 0, #a4a400 Color 13: Red 221, Green 221, Blue 0, #dddd00 Color 14: Red 156, Green 156, Blue 0, #9c9c00 Color 15: Red 108, Green 108, Blue 0, #6c6c00 Color 16: Red 208, Green 208, Blue 32, #d0d020 Color 17: Red 93, Green 93, Blue 0, #5d5d00 Color 18: Red 148, Green 148, Blue 0, #949400 Color 19: Red 66, Green 66, Blue 0, #424200 Color 20: Red 125, Green 125, Blue 0, #7d7d00 Color 21: Red 76, Green 76, Blue 0, #4c4c00 Color 22: Red 59, Green 59, Blue 0, #3b3b00 Color 23: Red 140, Green 140, Blue 0, #8c8c00 Color 24: Red 132, Green 132, Blue 0, #848400 Color 25: Red 50, Green 50, Blue 0, #323200 Color 26: Red 84, Green 84, Blue 0, #545400 Color 27: Red 235, Green 235, Blue 3, #ebeb03 Color 28: Red 236, Green 236, Blue 228, #ecece4 Color 29: Red 245, Green 245, Blue 0, #f5f500 Color 30: Red 101, Green 101, Blue 0, #656500 Color 31: Red 172, Green 172, Blue 0, #acac00 Color 32: Red 140, Green 140, Blue 67, #8c8c43 Color 33: Red 250, Green 250, Blue 247, #fafaf7 Color 34: Red 170, Green 170, Blue 141, #aaaa8d Color 35: Red 221, Green 221, Blue 205, #ddddcd Color 36: Red 196, Green 196, Blue 95, #c4c45f Color 37: Red 228, Green 228, Blue 192, #e4e4c0 Color 38: Red 238, Green 238, Blue 234, #eeeeea Color 39: Red 229, Green 229, Blue 0, #e5e500 Color 40: Red 203, Green 203, Blue 128, #cbcb80 Color 41: Red 227, Green 227, Blue 223, #e3e3df Color 42: Red 221, Green 221, Blue 173, #ddddad Color 43: Red 147, Green 147, Blue 89, #939359 Color 44: Red 44, Green 44, Blue 5, #2c2c05 Color 45: Red 196, Green 196, Blue 98, #c4c462 Color 46: Red 197, Green 197, Blue 173, #c5c5ad Color 47: Red 152, Green 152, Blue 23, #989817 Color 48: Red 179, Green 179, Blue 43, #b3b32b Color 49: Red 116, Green 116, Blue 27, #74741b Color 50: Red 234, Green 234, Blue 214, #eaead6 Color 51: Red 127, Green 127, Blue 108, #7f7f6c Color 52: Red 139, Green 139, Blue 103, #8b8b67 Color 53: Red 228, Green 228, Blue 209, #e4e4d1 Color 54: Red 184, Green 184, Blue 41, #b8b829 Color 55: Red 123, Green 123, Blue 61, #7b7b3d Color 56: Red 185, Green 185, Blue 53, #b9b935 Color 57: Red 119, Green 119, Blue 57, #777739 Color 58: Red 218, Green 218, Blue 213, #dadad5 Color 59: Red 67, Green 67, Blue 35, #434323 Color 60: Red 182, Green 182, Blue 85, #b6b655 Color 61: Red 158, Green 158, Blue 73, #9e9e49 Color 62: Red 104, Green 104, Blue 78, #68684e Color 63: Red 197, Green 197, Blue 156, #c5c59c Color 64: Red 119, Green 119, Blue 10, #77770a Color 65: Red 193, Green 193, Blue 132, #c1c184 Color 66: Red 93, Green 93, Blue 14, #5d5d0e Color 67: Red 243, Green 243, Blue 237, #f3f3ed Color 68: Red 247, Green 247, Blue 246, #f7f7f6 Color 69: Red 203, Green 203, Blue 184, #cbcbb8 Color 70: Red 244, Green 244, Blue 230, #f4f4e6 Color 71: Red 97, Green 97, Blue 17, #616111 Color 72: Red 209, Green 209, Blue 115, #d1d173 Color 73: Red 207, Green 207, Blue 116, #cfcf74 Color 74: Red 181, Green 181, Blue 28, #b5b51c Color 75: Red 163, Green 163, Blue 28, #a3a31c Color 76: Red 168, Green 168, Blue 123, #a8a87b Color 77: Red 133, Green 133, Blue 18, #858512 Color 78: Red 170, Green 170, Blue 18, #aaaa12 Color 79: Red 135, Green 135, Blue 24, #878718 Color 80: Red 16, Green 16, Blue 0, #101000 Color 81: Red 36, Green 36, Blue 0, #242400 Color 82: Red 20, Green 20, Blue 17, #141411 Color 83: Red 46, Green 46, Blue 28, #2e2e1c Color 84: Red 150, Green 150, Blue 28, #96961c Color 85: Red 245, Green 245, Blue 14, #f5f50e Color 86: Red 182, Green 182, Blue 33, #b6b621 Color 87: Red 54, Green 54, Blue 0, #363600 Color 88: Red 154, Green 154, Blue 130, #9a9a82 Color 89: Red 162, Green 162, Blue 150, #a2a296 Color 90: Red 49, Green 49, Blue 11, #31310b Color 91: Red 181, Green 181, Blue 23, #b5b517 Color 92: Red 211, Green 211, Blue 149, #d3d395 Color 93: Red 209, Green 209, Blue 135, #d1d187 Color 94: Red 100, Green 100, Blue 0, #646400 Color 95: Red 175, Green 175, Blue 167, #afafa7 Color 96: Red 215, Green 215, Blue 177, #d7d7b1 Color 97: Red 216, Green 216, Blue 177, #d8d8b1 Color 98: Red 176, Green 176, Blue 165, #b0b0a5 Color 99: Red 214, Green 214, Blue 156, #d6d69c Color 100: Red 10, Green 10, Blue 10, #0a0a0a (gray4, grey4) Color 101: Red 218, Green 218, Blue 164, #dadaa4 Color 102: Red 186, Green 186, Blue 161, #babaa1 Color 103: Red 236, Green 236, Blue 220, #ececdc Color 104: Red 196, Green 196, Blue 104, #c4c468 Color 105: Red 90, Green 90, Blue 40, #5a5a28 Color 106: Red 137, Green 137, Blue 77, #89894d Color 107: Red 90, Green 90, Blue 39, #5a5a27 Color 108: Red 211, Green 211, Blue 205, #d3d3cd Color 109: Red 133, Green 133, Blue 53, #858535 Color 110: Red 164, Green 164, Blue 123, #a4a47b Color 111: Red 150, Green 150, Blue 124, #96967c Color 112: Red 137, Green 137, Blue 59, #89893b Color 113: Red 204, Green 204, Blue 198, #ccccc6 Color 114: Red 163, Green 163, Blue 118, #a3a376 Color 115: Red 78, Green 78, Blue 40, #4e4e28 Color 116: Red 30, Green 30, Blue 30, #1e1e1e Color 117: Red 120, Green 120, Blue 28, #78781c Color 118: Red 25, Green 25, Blue 15, #19190f Color 119: Red 134, Green 134, Blue 37, #868625 Color 120: Red 105, Green 105, Blue 31, #69691f Color 121: Red 92, Green 92, Blue 31, #5c5c1f Color 122: Red 193, Green 193, Blue 26, #c1c11a Color 123: Red 185, Green 185, Blue 31, #b9b91f Color 124: Red 226, Green 226, Blue 26, #e2e21a Color 125: Red 234, Green 234, Blue 20, #eaea14 Color 126: Red 56, Green 56, Blue 33, #383821 Color 127: Red 198, Green 198, Blue 32, #c6c620 Color 128: Red 156, Green 156, Blue 32, #9c9c20 Color 129: Red 17, Green 17, Blue 13, #11110d Color 130: Red 37, Green 37, Blue 0, #252500 Color 131: Red 25, Green 25, Blue 0, #191900 Color 132: Red 210, Green 210, Blue 24, #d2d218 Color 133: Red 33, Green 33, Blue 33, #212121 (gray13, grey13) Color 134: Red 217, Green 217, Blue 23, #d9d917 Color 135: Red 63, Green 63, Blue 27, #3f3f1b Color 136: Red 222, Green 222, Blue 26, #dede1a Color 137: Red 51, Green 51, Blue 35, #333323 Color 138: Red 249, Green 249, Blue 15, #f9f90f Color 139: Red 170, Green 170, Blue 49, #aaaa31 Color 140: Red 109, Green 109, Blue 46, #6d6d2e Color 141: Red 130, Green 130, Blue 10, #82820a Color 142: Red 211, Green 211, Blue 10, #d3d30a Color 143: Red 186, Green 186, Blue 12, #baba0c Color 144: Red 35, Green 35, Blue 23, #232317 Color 145: Red 146, Green 146, Blue 41, #929229 Color 146: Red 112, Green 112, Blue 41, #707029 Color 147: Red 164, Green 164, Blue 43, #a4a42b Color 148: Red 152, Green 152, Blue 42, #98982a Color 149: Red 251, Green 251, Blue 22, #fbfb16 Color 150: Red 82, Green 82, Blue 30, #52521e Color 151: Red 76, Green 76, Blue 29, #4c4c1d Color 152: Red 200, Green 200, Blue 31, #c8c81f Color 153: Red 64, Green 64, Blue 31, #40401f Color 154: Red 9, Green 9, Blue 2, #090902 Color 155: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 156: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 157: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 158: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 159: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 160: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 161: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 162: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 163: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 164: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 165: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 166: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 167: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 168: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 169: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 170: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 171: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 172: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 173: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 174: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 175: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 176: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 177: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 178: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 179: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 180: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 181: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 182: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 183: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 184: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 185: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 186: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 187: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 188: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 189: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 190: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 191: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 192: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 193: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 194: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 195: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 196: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 197: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 198: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 199: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 200: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 201: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 202: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 203: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 204: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 205: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 206: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 207: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 208: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 209: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 210: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 211: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 212: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 213: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 214: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 215: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 216: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 217: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 218: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 219: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 220: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 221: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 222: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 223: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 224: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 225: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 226: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 227: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 228: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 229: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 230: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 231: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 232: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 233: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 234: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 235: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 236: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 237: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 238: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 239: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 240: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 241: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 242: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 243: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 244: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 245: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 246: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 247: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 248: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 249: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 250: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 251: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 252: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 253: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 254: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) Color 255: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0) *** buffer overflow detected ***: ../../giftrans terminated ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x7338f)[0x7ffff7a8838f] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7ffff7b1fc9c] /lib/x86_64-linux-gnu/libc.so.6(+0x109b60)[0x7ffff7b1eb60] /lib/x86_64-linux-gnu/libc.so.6(__fread_chk+0x13c)[0x7ffff7b1f23c] ../../giftrans[0x40b492] ../../giftrans[0x402cc9] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7ffff7a36ec5] ../../giftrans[0x40324e] ======= Memory map: ======== 00400000-00413000 r-xp 00000000 fc:01 6403298 /home/jodicun/opt/giftrans-1.12.2/giftrans 00612000-00613000 r--p 00012000 fc:01 6403298 /home/jodicun/opt/giftrans-1.12.2/giftrans 00613000-00614000 rw-p 00013000 fc:01 6403298 /home/jodicun/opt/giftrans-1.12.2/giftrans 00614000-00635000 rw-p 00000000 00:00 0 [heap] 7ffff77ff000-7ffff7815000 r-xp 00000000 fc:01 4980886 /lib/x86_64-linux-gnu/libgcc_s.so.1 7ffff7815000-7ffff7a14000 ---p 00016000 fc:01 4980886 /lib/x86_64-linux-gnu/libgcc_s.so.1 7ffff7a14000-7ffff7a15000 rw-p 00015000 fc:01 4980886 /lib/x86_64-linux-gnu/libgcc_s.so.1 7ffff7a15000-7ffff7bd0000 r-xp 00000000 fc:01 4989799 /lib/x86_64-linux-gnu/libc-2.19.so 7ffff7bd0000-7ffff7dcf000 ---p 001bb000 fc:01 4989799 /lib/x86_64-linux-gnu/libc-2.19.so 7ffff7dcf000-7ffff7dd3000 r--p 001ba000 fc:01 4989799 /lib/x86_64-linux-gnu/libc-2.19.so 7ffff7dd3000-7ffff7dd5000 rw-p 001be000 fc:01 4989799 /lib/x86_64-linux-gnu/libc-2.19.so 7ffff7dd5000-7ffff7dda000 rw-p 00000000 00:00 0 7ffff7dda000-7ffff7dfd000 r-xp 00000000 fc:01 4989796 /lib/x86_64-linux-gnu/ld-2.19.so 7ffff7fe1000-7ffff7fe4000 rw-p 00000000 00:00 0 7ffff7ff6000-7ffff7ffa000 rw-p 00000000 00:00 0 7ffff7ffa000-7ffff7ffc000 r-xp 00000000 00:00 0 [vdso] 7ffff7ffc000-7ffff7ffd000 r--p 00022000 fc:01 4989796 /lib/x86_64-linux-gnu/ld-2.19.so 7ffff7ffd000-7ffff7ffe000 rw-p 00023000 fc:01 4989796 /lib/x86_64-linux-gnu/ld-2.19.so 7ffff7ffe000-7ffff7fff000 rw-p 00000000 00:00 0 7ffffffde000-7ffffffff000 rw-p 00000000 00:00 0 [stack] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted (core dumped) I was fuzzing giftrans with American Fuzzy Lop and found this bug. I have no expected behavior from the software. The reproducer file and a GDB log file with backtrace are attached. Regards, -Jodie Cunningham
Attachment:
a4ac94f0_reproducer
Description: Binary data
** ** Process info for ../../giftrans - ./core-giftrans24572-1425232619 ** Generated Sun Mar 1 11:57:17 CST 2015 ** ** -rwxrwxr-x 1 jodicun jodicun 166043 Feb 27 22:51 ../../giftrans ** -rw------- 1 jodicun jodicun 405504 Mar 1 11:56 ./core-giftrans24572-1425232619 ** [New LWP 24572] Core was generated by `../../giftrans -l id:000000,sig:06,src:000001,op:flip1,pos:802'. Program terminated with signal SIGABRT, Aborted. #0 0x00007ffff7a4bcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. #0 0x00007ffff7a4bcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007ffff7a4f0d8 in __GI_abort () at abort.c:89 #2 0x00007ffff7a88394 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff7b9452b "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175 #3 0x00007ffff7b1fc9c in __GI___fortify_fail (msg=<optimized out>, msg@entry=0x7ffff7b944c2 "buffer overflow detected") at fortify_fail.c:37 #4 0x00007ffff7b1eb60 in __GI___chk_fail () at chk_fail.c:28 #5 0x00007ffff7b1f23c in __fread_chk (ptr=ptr@entry=0x7fffffff98c0, ptrlen=ptrlen@entry=5, size=size@entry=132, n=n@entry=1, stream=stream@entry=0x614010) at fread_chk.c:39 #6 0x000000000040b492 in fread (__stream=0x614010, __n=1, __size=132, __ptr=0x7fffffff98c0) at /usr/include/x86_64-linux-gnu/bits/stdio2.h:290 #7 giftrans (src=src@entry=0x614010, dest=0x7ffff7dd4400 <_IO_2_1_stdout_>) at giftrans.c:623 #8 0x0000000000402cc9 in main (argc=3, argv=0x7fffffffe078) at giftrans.c:972 #9 0x00007ffff7a36ec5 in __libc_start_main (main=0x400f50 <main>, argc=3, argv=0x7fffffffe078, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe068) at libc-start.c:287 #10 0x000000000040324e in _start () Description: Possible stack corruption Short description: PossibleStackCorruption (7/22) Hash: a4ac94f0a12fd7ae56b204df44ab1482.a4ac94f0a12fd7ae56b204df44ab1482 Exploitability Classification: EXPLOITABLE Explanation: GDB generated an error while unwinding the stack and/or the stack contained return addresses that were not mapped in the inferior's process address space and/or the stack pointer is pointing to a location outside the default stack region. These conditions likely indicate stack corruption, which is generally considered exploitable. Other tags: AbortSignal (20/22) exe = '../../giftrans -l id:000000,sig:06,src:000001,op:flip1,pos:802' * * Libraries * From To Syms Read Shared Object Library 0x00007ffff7a344a0 0x00007ffff7b79583 Yes /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7ddaae0 0x00007ffff7df54e0 Yes /lib64/ld-linux-x86-64.so.2 0x00007ffff7801ab0 0x00007ffff7811995 Yes (*) /lib/x86_64-linux-gnu/libgcc_s.so.1 (*): Shared library is missing debugging information. * * Memory map * Symbols from "/home/jodicun/opt/giftrans-1.12.2/giftrans". Local core dump file: `/home/jodicun/opt/giftrans-1.12.2/out/crashes/./core-giftrans24572-1425232619', file type elf64-x86-64. 0x0000000000400000 - 0x0000000000401000 is load1a 0x0000000000401000 - 0x0000000000401000 is load1b 0x0000000000612000 - 0x0000000000613000 is load2 0x0000000000613000 - 0x0000000000614000 is load3 0x0000000000614000 - 0x0000000000635000 is load4 0x00007ffff77ff000 - 0x00007ffff7800000 is load5a 0x00007ffff7800000 - 0x00007ffff7800000 is load5b 0x00007ffff7815000 - 0x00007ffff7815000 is load6 0x00007ffff7a14000 - 0x00007ffff7a15000 is load7 0x00007ffff7a15000 - 0x00007ffff7a16000 is load8a 0x00007ffff7a16000 - 0x00007ffff7a16000 is load8b 0x00007ffff7bd0000 - 0x00007ffff7bd0000 is load9 0x00007ffff7dcf000 - 0x00007ffff7dd3000 is load10 0x00007ffff7dd3000 - 0x00007ffff7dd5000 is load11 0x00007ffff7dd5000 - 0x00007ffff7dda000 is load12 0x00007ffff7dda000 - 0x00007ffff7ddb000 is load13a 0x00007ffff7ddb000 - 0x00007ffff7ddb000 is load13b 0x00007ffff7fe1000 - 0x00007ffff7fe4000 is load14 0x00007ffff7ff6000 - 0x00007ffff7ffa000 is load15 0x00007ffff7ffa000 - 0x00007ffff7ffc000 is load16 0x00007ffff7ffc000 - 0x00007ffff7ffd000 is load17 0x00007ffff7ffd000 - 0x00007ffff7ffe000 is load18 0x00007ffff7ffe000 - 0x00007ffff7fff000 is load19 0x00007ffffffdd000 - 0x00007ffffffff000 is load20 0xffffffffff600000 - 0xffffffffff601000 is load21 Local exec file: `/home/jodicun/opt/giftrans-1.12.2/giftrans', file type elf64-x86-64. Entry point: 0x403225 0x0000000000400238 - 0x0000000000400254 is .interp 0x0000000000400254 - 0x0000000000400274 is .note.ABI-tag 0x0000000000400274 - 0x0000000000400298 is .note.gnu.build-id 0x0000000000400298 - 0x00000000004002d0 is .gnu.hash 0x00000000004002d0 - 0x00000000004006c0 is .dynsym 0x00000000004006c0 - 0x000000000040083b is .dynstr 0x000000000040083c - 0x0000000000400890 is .gnu.version 0x0000000000400890 - 0x00000000004008f0 is .gnu.version_r 0x00000000004008f0 - 0x0000000000400980 is .rela.dyn 0x0000000000400980 - 0x0000000000400ce0 is .rela.plt 0x0000000000400ce0 - 0x0000000000400cfa is .init 0x0000000000400d00 - 0x0000000000400f50 is .plt 0x0000000000400f50 - 0x0000000000411ce2 is .text 0x0000000000411ce4 - 0x0000000000411ced is .fini 0x0000000000411cf0 - 0x00000000004128b8 is .rodata 0x00000000004128b8 - 0x0000000000412934 is .eh_frame_hdr 0x0000000000412938 - 0x0000000000412d24 is .eh_frame 0x0000000000612e10 - 0x0000000000612e18 is .init_array 0x0000000000612e18 - 0x0000000000612e20 is .fini_array 0x0000000000612e20 - 0x0000000000612e28 is .jcr 0x0000000000612e28 - 0x0000000000612ff8 is .dynamic 0x0000000000612ff8 - 0x0000000000613000 is .got 0x0000000000613000 - 0x0000000000613138 is .got.plt 0x0000000000613140 - 0x0000000000613220 is .data 0x0000000000613220 - 0x0000000000613390 is .bss 0x00007ffff7a15270 - 0x00007ffff7a15294 is .note.gnu.build-id in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7a15294 - 0x00007ffff7a152b4 is .note.ABI-tag in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7a152b8 - 0x00007ffff7a18d24 is .gnu.hash in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7a18d28 - 0x00007ffff7a25d78 is .dynsym in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7a25d78 - 0x00007ffff7a2b64e is .dynstr in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7a2b64e - 0x00007ffff7a2c7aa is .gnu.version in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7a2c7b0 - 0x00007ffff7a2cadc is .gnu.version_d in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7a2cae0 - 0x00007ffff7a2cb10 is .gnu.version_r in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7a2cb10 - 0x00007ffff7a342b0 is .rela.dyn in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7a342b0 - 0x00007ffff7a343d0 is .rela.plt in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7a343d0 - 0x00007ffff7a344a0 is .plt in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7a344a0 - 0x00007ffff7b79583 is .text in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7b79590 - 0x00007ffff7b7af8d is __libc_freeres_fn in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7b7af90 - 0x00007ffff7b7b212 is __libc_thread_freeres_fn in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7b7b220 - 0x00007ffff7b9cf30 is .rodata in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7b9cf30 - 0x00007ffff7b9cf4c is .interp in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7b9cf4c - 0x00007ffff7ba3650 is .eh_frame_hdr in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7ba3650 - 0x00007ffff7bcb9a4 is .eh_frame in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7bcb9a4 - 0x00007ffff7bcbd6d is .gcc_except_table in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7bcbd70 - 0x00007ffff7bcf014 is .hash in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7dcf740 - 0x00007ffff7dcf750 is .tdata in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7dcf750 - 0x00007ffff7dcf7f0 is .tbss in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7dcf750 - 0x00007ffff7dcf760 is .init_array in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7dcf760 - 0x00007ffff7dcf850 is __libc_subfreeres in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7dcf850 - 0x00007ffff7dcf858 is __libc_atexit in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7dcf858 - 0x00007ffff7dcf878 is __libc_thread_subfreeres in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7dcf880 - 0x00007ffff7dd2ba0 is .data.rel.ro in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7dd2ba0 - 0x00007ffff7dd2d80 is .dynamic in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7dd2d80 - 0x00007ffff7dd2ff8 is .got in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7dd3000 - 0x00007ffff7dd3078 is .got.plt in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7dd3080 - 0x00007ffff7dd48a0 is .data in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7dd48a0 - 0x00007ffff7dd92c0 is .bss in /lib/x86_64-linux-gnu/libc.so.6 0x00007ffff7dda1c8 - 0x00007ffff7dda1ec is .note.gnu.build-id in /lib64/ld-linux-x86-64.so.2 0x00007ffff7dda1f0 - 0x00007ffff7dda2ac is .hash in /lib64/ld-linux-x86-64.so.2 0x00007ffff7dda2b0 - 0x00007ffff7dda38c is .gnu.hash in /lib64/ld-linux-x86-64.so.2 0x00007ffff7dda390 - 0x00007ffff7dda630 is .dynsym in /lib64/ld-linux-x86-64.so.2 0x00007ffff7dda630 - 0x00007ffff7dda7c4 is .dynstr in /lib64/ld-linux-x86-64.so.2 0x00007ffff7dda7c4 - 0x00007ffff7dda7fc is .gnu.version in /lib64/ld-linux-x86-64.so.2 0x00007ffff7dda800 - 0x00007ffff7dda8a4 is .gnu.version_d in /lib64/ld-linux-x86-64.so.2 0x00007ffff7dda8a8 - 0x00007ffff7dda9e0 is .rela.dyn in /lib64/ld-linux-x86-64.so.2 0x00007ffff7dda9e0 - 0x00007ffff7ddaa70 is .rela.plt in /lib64/ld-linux-x86-64.so.2 0x00007ffff7ddaa70 - 0x00007ffff7ddaae0 is .plt in /lib64/ld-linux-x86-64.so.2 0x00007ffff7ddaae0 - 0x00007ffff7df54e0 is .text in /lib64/ld-linux-x86-64.so.2 0x00007ffff7df54e0 - 0x00007ffff7df97e0 is .rodata in /lib64/ld-linux-x86-64.so.2 0x00007ffff7df97e0 - 0x00007ffff7df9e1c is .eh_frame_hdr in /lib64/ld-linux-x86-64.so.2 0x00007ffff7df9e20 - 0x00007ffff7dfc178 is .eh_frame in /lib64/ld-linux-x86-64.so.2 0x00007ffff7ffcc00 - 0x00007ffff7ffce6c is .data.rel.ro in /lib64/ld-linux-x86-64.so.2 0x00007ffff7ffce70 - 0x00007ffff7ffcfe0 is .dynamic in /lib64/ld-linux-x86-64.so.2 0x00007ffff7ffcfe0 - 0x00007ffff7ffcff8 is .got in /lib64/ld-linux-x86-64.so.2 0x00007ffff7ffd000 - 0x00007ffff7ffd048 is .got.plt in /lib64/ld-linux-x86-64.so.2 0x00007ffff7ffd060 - 0x00007ffff7ffdfe4 is .data in /lib64/ld-linux-x86-64.so.2 0x00007ffff7ffe000 - 0x00007ffff7ffe1c8 is .bss in /lib64/ld-linux-x86-64.so.2 0x00007ffff77ff190 - 0x00007ffff77ff1b4 is .note.gnu.build-id in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff77ff1b8 - 0x00007ffff77ff6a8 is .gnu.hash in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff77ff6a8 - 0x00007ffff78006c8 is .dynsym in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff78006c8 - 0x00007ffff7800f6e is .dynstr in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff7800f6e - 0x00007ffff78010c6 is .gnu.version in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff78010c8 - 0x00007ffff7801268 is .gnu.version_d in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff7801268 - 0x00007ffff7801298 is .gnu.version_r in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff7801298 - 0x00007ffff78013a0 is .rela.dyn in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff78013a0 - 0x00007ffff78017c0 is .rela.plt in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff78017c0 - 0x00007ffff78017da is .init in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff78017e0 - 0x00007ffff7801ab0 is .plt in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff7801ab0 - 0x00007ffff7811995 is .text in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff7811998 - 0x00007ffff78119a1 is .fini in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff78119c0 - 0x00007ffff7812490 is .rodata in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff7812490 - 0x00007ffff78129d4 is .eh_frame_hdr in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff78129d8 - 0x00007ffff781443c is .eh_frame in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff7a14440 - 0x00007ffff7a14450 is .init_array in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff7a14450 - 0x00007ffff7a14458 is .fini_array in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff7a14458 - 0x00007ffff7a14460 is .jcr in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff7a14460 - 0x00007ffff7a14650 is .dynamic in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff7a14650 - 0x00007ffff7a14688 is .got in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff7a14688 - 0x00007ffff7a14800 is .got.plt in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff7a14800 - 0x00007ffff7a14810 is .data in /lib/x86_64-linux-gnu/libgcc_s.so.1 0x00007ffff7a14840 - 0x00007ffff7a14ae0 is .bss in /lib/x86_64-linux-gnu/libgcc_s.so.1 * * Registers * rax 0x0 0 rbx 0x3c 60 rcx 0xffffffffffffffff -1 rdx 0x6 6 rsi 0x5ffc 24572 rdi 0x5ffc 24572 rbp 0x7fffffff9800 0x7fffffff9800 rsp 0x7fffffff94e8 0x7fffffff94e8 r8 0x7ffff7b8bdc0 140737349467584 r9 0x613260 6369888 r10 0x8 8 r11 0x246 582 r12 0x7fffffff9670 140737488328304 r13 0x5 5 r14 0x3c 60 r15 0x5 5 rip 0x7ffff7a4bcc9 0x7ffff7a4bcc9 <__GI_raise+57> eflags 0x246 [ PF ZF IF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 * * Current instructions * => 0x7ffff7a4bcc9 <__GI_raise+57>: cmp rax,0xfffffffffffff000 0x7ffff7a4bccf <__GI_raise+63>: ja 0x7ffff7a4bcea <__GI_raise+90> 0x7ffff7a4bcd1 <__GI_raise+65>: repz ret 0x7ffff7a4bcd3 <__GI_raise+67>: nop DWORD PTR [rax+rax*1+0x0] 0x7ffff7a4bcd8 <__GI_raise+72>: test eax,eax 0x7ffff7a4bcda <__GI_raise+74>: jg 0x7ffff7a4bcb9 <__GI_raise+41> 0x7ffff7a4bcdc <__GI_raise+76>: mov ecx,eax 0x7ffff7a4bcde <__GI_raise+78>: neg ecx 0x7ffff7a4bce0 <__GI_raise+80>: test eax,0x7fffffff 0x7ffff7a4bce5 <__GI_raise+85>: cmove ecx,esi 0x7ffff7a4bce8 <__GI_raise+88>: jmp 0x7ffff7a4bcb9 <__GI_raise+41> 0x7ffff7a4bcea <__GI_raise+90>: mov rdx,QWORD PTR [rip+0x387177] # 0x7ffff7dd2e68 0x7ffff7a4bcf1 <__GI_raise+97>: neg eax 0x7ffff7a4bcf3 <__GI_raise+99>: mov DWORD PTR fs:[rdx],eax 0x7ffff7a4bcf6 <__GI_raise+102>: or rax,0xffffffffffffffff 0x7ffff7a4bcfa <__GI_raise+106>: ret * * Threads (full) * Id Target Id Frame * 1 LWP 24572 0x00007ffff7a4bcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #0 0x00007ffff7a4bcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007ffff7a4f0d8 in __GI_abort () at abort.c:89 #2 0x00007ffff7a88394 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff7b9452b "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175 #3 0x00007ffff7b1fc9c in __GI___fortify_fail (msg=<optimized out>, msg@entry=0x7ffff7b944c2 "buffer overflow detected") at fortify_fail.c:37 #4 0x00007ffff7b1eb60 in __GI___chk_fail () at chk_fail.c:28 #5 0x00007ffff7b1f23c in __fread_chk (ptr=ptr@entry=0x7fffffff98c0, ptrlen=ptrlen@entry=5, size=size@entry=132, n=n@entry=1, stream=stream@entry=0x614010) at fread_chk.c:39 #6 0x000000000040b492 in fread (__stream=0x614010, __n=1, __size=132, __ptr=0x7fffffff98c0) at /usr/include/x86_64-linux-gnu/bits/stdio2.h:290 #7 giftrans (src=src@entry=0x614010, dest=0x7ffff7dd4400 <_IO_2_1_stdout_>) at giftrans.c:623 #8 0x0000000000402cc9 in main (argc=3, argv=0x7fffffffe078) at giftrans.c:972 #9 0x00007ffff7a36ec5 in __libc_start_main (main=0x400f50 <main>, argc=3, argv=0x7fffffffe078, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe068) at libc-start.c:287 #10 0x000000000040324e in _start () Thread 1 (LWP 24572): #0 0x00007ffff7a4bcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = 0 pid = 24572 selftid = 24572 #1 0x00007ffff7a4f0d8 in __GI_abort () at abort.c:89 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x2020202020202020, sa_sigaction = 0x2020202020202020}, sa_mask = {__val = {6566283579056201760, 7812726533347963766, 2314885530818447965, 2314885530818453536, 3907004821653777455, 8461816663211521631, 7596498852877118840, 3330747473897284450, 7378697628689264499, 3256155515023221815, 7233967814408037943, 3255383588231721011, 3486175549962854512, 3544397105330139184, 4123387652730336288, 0}}, sa_flags = 60, sa_restorer = 0x7fffffff9800} sigs = {__val = {32, 0 <repeats 15 times>}} #2 0x00007ffff7a88394 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff7b9452b "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175 ap = {{gp_offset = 32, fp_offset = 0, overflow_arg_area = 0x7fffffff9810, reg_save_area = 0x7fffffff97a0}} fd = 4 on_2 = <optimized out> list = <optimized out> nlist = <optimized out> cp = <optimized out> written = <optimized out> #3 0x00007ffff7b1fc9c in __GI___fortify_fail (msg=<optimized out>, msg@entry=0x7ffff7b944c2 "buffer overflow detected") at fortify_fail.c:37 do_abort = 2 #4 0x00007ffff7b1eb60 in __GI___chk_fail () at chk_fail.c:28 No locals. #5 0x00007ffff7b1f23c in __fread_chk (ptr=ptr@entry=0x7fffffff98c0, ptrlen=ptrlen@entry=5, size=size@entry=132, n=n@entry=1, stream=stream@entry=0x614010) at fread_chk.c:39 bytes_requested = 132 bytes_read = <optimized out> #6 0x000000000040b492 in fread (__stream=0x614010, __n=1, __size=132, __ptr=0x7fffffff98c0) at /usr/include/x86_64-linux-gnu/bits/stdio2.h:290 No locals. #7 giftrans (src=src@entry=0x614010, dest=0x7ffff7dd4400 <_IO_2_1_stdout_>) at giftrans.c:623 buffer = "!\371\204\070\071a", '\000' <repeats 642 times>... lsd = "0\000\060\000\367\000" gct = "\375\375\004\375\375\374\005\005\005\364\364\000\354\354\000\314\314\000\342\342\000\324\324\000\305\305\000tt\000\264\264\000\272\272\000\244\244\000\335\335\000\234\234\000ll\000\320\320 ]]\000\224\224\000BB\000}}\000LL\000;;\000\214\214\000\204\204\000\062\062\000TT\000\353\353\003\354\354\344\365\365\000ee\000\254\254\000\214\214C\372\372\367\252\252\215\335\335\315\304\304_\344\344\300\356\356\352\345\345\000\313ˀ\343\343\337\335ݭ\223\223Y,,\005\304\304b\305ŭ\230\230\027\263\263+tt\033\352\352\326\177\177l\213\213g\344\344Ѹ\270){{=\271\271\065ww9\332\332\325CC#\266\266U\236\236IhhN\305Ŝww\n\301\301\204]]\016\363\363\355\367\367"... gce = "\000\000\000\000" cnt = <optimized out> cols = <optimized out> size = <optimized out> gct_size = 256 gct_delay = 0 gce_present = 0 rgbptr = <optimized out> #8 0x0000000000402cc9 in main (argc=3, argv=0x7fffffffe078) at giftrans.c:972 c = <optimized out> error = '\000' <repeats 5416 times>... line = "144\000\062\063\070\000\061\064\064\000\tLightGreen\000\000\000\000\000\000\000\000\000w\000\000\000\000\065\064:00 cpqbld Exp $\n", '\000' <repeats 8135 times> ptr = <optimized out> nptr = <optimized out> oname = <optimized out> ename = <optimized out> next = <optimized out> src = 0x614010 stat = <optimized out> #9 0x00007ffff7a36ec5 in __libc_start_main (main=0x400f50 <main>, argc=3, argv=0x7fffffffe078, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe068) at libc-start.c:287 result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -7618244412485851799, 4207141, 140737488347248, 0, 0, 7618244413569705321, 7618226172280120681}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x411c70 <__libc_csu_init>, 0x7fffffffe078}, data = {prev = 0x0, cleanup = 0x0, canceltype = 4267120}}} not_first_call = <optimized out> #10 0x000000000040324e in _start () No symbol table info available. * * Threads (basic) * Id Target Id Frame * 1 LWP 24572 0x00007ffff7a4bcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 Thread 1 (LWP 24572): #0 0x00007ffff7a4bcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007ffff7a4f0d8 in __GI_abort () at abort.c:89 #2 0x00007ffff7a88394 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff7b9452b "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175 #3 0x00007ffff7b1fc9c in __GI___fortify_fail (msg=<optimized out>, msg@entry=0x7ffff7b944c2 "buffer overflow detected") at fortify_fail.c:37 #4 0x00007ffff7b1eb60 in __GI___chk_fail () at chk_fail.c:28 #5 0x00007ffff7b1f23c in __fread_chk (ptr=ptr@entry=0x7fffffff98c0, ptrlen=ptrlen@entry=5, size=size@entry=132, n=n@entry=1, stream=stream@entry=0x614010) at fread_chk.c:39 #6 0x000000000040b492 in fread (__stream=0x614010, __n=1, __size=132, __ptr=0x7fffffff98c0) at /usr/include/x86_64-linux-gnu/bits/stdio2.h:290 #7 giftrans (src=src@entry=0x614010, dest=0x7ffff7dd4400 <_IO_2_1_stdout_>) at giftrans.c:623 #8 0x0000000000402cc9 in main (argc=3, argv=0x7fffffffe078) at giftrans.c:972 #9 0x00007ffff7a36ec5 in __libc_start_main (main=0x400f50 <main>, argc=3, argv=0x7fffffffe078, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe068) at libc-start.c:287 #10 0x000000000040324e in _start () * * Done *