This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/19709] New: [PATCH] replace alloca() with malloc()/free() in rcmd.c
- From: "loganaden at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 23 Feb 2016 09:50:32 +0000
- Subject: [Bug libc/19709] New: [PATCH] replace alloca() with malloc()/free() in rcmd.c
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19709
Bug ID: 19709
Summary: [PATCH] replace alloca() with malloc()/free() in
rcmd.c
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: loganaden at gmail dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
Created attachment 9030
--> https://sourceware.org/bugzilla/attachment.cgi?id=9030&action=edit
malloc_rcmd
Change from alloca() to malloc()/free().
The rationale behind is that alloca() should be used sparingly, as it's hard to
do bound-checking, and most importantly, the behaviour is undefined in case of
failures, unlike malloc().
--
You are receiving this mail because:
You are on the CC list for the bug.