Sourceware Bugzilla – Attachment 9006 Details for
Bug 19668
Missing Sanity Check for malloc() in file 'tst-setcontext-fpscr.c'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch file for above bug report (diff -u)
tst-setcontext-fpscr.c.patch (text/plain), 334 bytes, created by
Bill Parker
on 2016-02-18 21:06:27 UTC
(
hide
)
Description:
patch file for above bug report (diff -u)
Filename:
MIME Type:
Creator:
Bill Parker
Created:
2016-02-18 21:06:27 UTC
Size:
334 bytes
patch
obsolete
>--- tst-setcontext-fpscr.c.orig 2016-02-18 09:19:09.410918344 -0800 >+++ tst-setcontext-fpscr.c 2016-02-18 09:19:53.661542371 -0800 >@@ -60,6 +60,11 @@ > return 0; > } > auxv = (ElfW(auxv_t) *)malloc(getpagesize()); >+ if (auxv == NULL) >+ { >+ perror("Unable to allocate memory for auxv"); >+ return 0; >+ } > > do > {
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 19668
: 9006