Date: Thu, 08 Jun 2000 13:16:18 +0800 From: chc <chc@openfind.com.tw> To: freebsd-questions@FreeBSD.ORG Subject: shell core dump Message-ID: <393F2C22.487287A3@openfind.com.tw>
next in thread | raw e-mail | index | archive | help
I found this simple shell script will result a shell core dump. Please check it. #!/bin/sh echo '\x82\x93\x82\x93,\x82\x83\x82\x90\x82\x8b' note: \x82 should be translated to a single byte with hex number 82, and so on. Program terminated with signal 6, Abort trap. #0 0x8074f54 in kill () (gdb) bt #0 0x8074f54 in kill () #1 0x809139e in abort () #2 0x804ddb5 in evalvar (p=0x80ba79e "", flag=3) at /usr/src/bin/sh/expand.c:777 #3 0x804d062 in argstr (p=0x80ba79c "\210\202", flag=3) at /usr/src/bin/sh/expand.c:245 #4 0x804cdfa in expandarg (arg=0x80ba7a0, arglist=0xbfbff798, flag=3) at /usr/src/bin/sh/expand.c:169 #5 0x804b2bb in evalcommand (cmd=0x80ba7b0, flags=0, backcmd=0x0) at /usr/src/bin/sh/eval.c:645 #6 0x804a9b0 in evaltree (n=0x80ba7b0, flags=0) at /usr/src/bin/sh/eval.c:269 #7 0x8051e5a in cmdloop (top=1) at /usr/src/bin/sh/main.c:253 #8 0x8051dba in main (argc=2, argv=0xbfbff924) at /usr/src/bin/sh/main.c:202 #9 0x80480f9 in _start () To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?393F2C22.487287A3>