FreeBSD Bugzilla – Attachment 150520 Details for
Bug 195918
/bin/sh crash caused by a particular script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
bin/sh with debug enable showing out of bounds array index
gdb-default-varisset.txt (text/plain), 819 bytes, created by
Jason Unovitch
on 2014-12-13 01:16:25 UTC
(
hide
)
Description:
bin/sh with debug enable showing out of bounds array index
Filename:
MIME Type:
Creator:
Jason Unovitch
Created:
2014-12-13 01:16:25 UTC
Size:
819 bytes
patch
obsolete
>Breakpoint 1 at 0x408fb0: file expand.c, line 863. >Starting program: /usr/src/bin/sh/sh > >Breakpoint 1, varisset (name=0x8015a7234 "1985234857347568347:1=2:5รน", > nulok=16) at expand.c:863 >863 if (*name == '!') >861 { >863 if (*name == '!') >865 else if (*name == '@' || *name == '*') { >877 } else if (is_digit(*name)) { >879 int num = atoi(name); >881 if (num > shellparam.nparam) >884 if (num == 0) >$1 = -1544760613 >887 ap = shellparam.p[num - 1]; > >Program received signal SIGSEGV, Segmentation fault. >0x000000000040903c in varisset (name=Variable "name" is not available. >) at expand.c:887 >887 ap = shellparam.p[num - 1]; > >Program terminated with signal SIGSEGV, Segmentation fault. >The program no longer exists. >The program is not being run. >The program is not being run. >The program is not being run.
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 195918
: 150520 |
150521
|
150522