Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
glibc
glibc-vfprintf-positional.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File glibc-vfprintf-positional.diff of Package glibc
2011-01-27 Petr Baudis <pasky@suse.cz> * stdio-common/vfprintf.c (vfprintf): Pass correct newlen to extend_alloca(). diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c index fc370e8..ecf5dfa 100644 --- a/stdio-common/vfprintf.c +++ b/stdio-common/vfprintf.c @@ -1682,7 +1682,9 @@ do_positional: { /* Extend the array of format specifiers. */ struct printf_spec *old = specs; - specs = extend_alloca (specs, nspecs_max, 2 * nspecs_max); + specs = extend_alloca (specs, nspecs_max, + 2 * nspecs_max + * sizeof (struct printf_spec)); /* Copy the old array's elements to the new space. */ memmove (specs, old, nspecs * sizeof (struct printf_spec));
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor