FreeBSD Bugzilla – Attachment 175 Details for
Bug 858
sh dumps core on uninitialized memory in editline
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 558 bytes, created by
john hood
on 1995-12-01 08:50:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
john hood
Created:
1995-12-01 08:50:03 UTC
Size:
558 bytes
patch
obsolete
>*** /usr/src/lib/libedit/term.c Tue May 30 01:43:15 1995 >--- term.c Wed Nov 29 17:03:20 1995 >*************** >*** 310,315 **** >--- 310,316 ---- > el->el_term.t_buf = (char *) el_malloc(TC_BUFSIZE); > el->el_term.t_cap = (char *) el_malloc(TC_BUFSIZE); > el->el_term.t_fkey = (fkey_t *) el_malloc(4 * sizeof(fkey_t)); >+ (void) memset(el->el_term.t_fkey, 0, 4 * sizeof(fkey_t)); > el->el_term.t_loc = 0; > el->el_term.t_str = (char **) el_malloc(T_str * sizeof(char*)); > (void) memset(el->el_term.t_str, 0, T_str * sizeof(char*));
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 858
: 175