procps/proc
Michael Schwendt dd87e4f48c libprocps: protect locale environment getting overwrite
The problem is that in ./proc/sysinfo.c uptime(), it is not
considered that the "savelocale" string is overwritten by the
subsequent call to setlocale().  Hence restoring the locale later on
won't work this way.  "savelocale" ought to be a copy of the string
pointed to by setlocale()'s return-value.

Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=548711
Backported-by: Sami Kerola <kerolasa@iki.fi>
2012-04-25 09:34:41 +10:00
..
alloc.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
alloc.h library: expanded/generalized memory allocation provisions 2011-12-11 22:26:49 +11:00
COPYING license: update FSF addresses 2012-03-04 08:04:24 +11:00
devname.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
devname.h Change restrict to __restrict in public includes 2012-01-09 21:44:51 +11:00
escape.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
escape.h Change restrict to __restrict in public includes 2012-01-09 21:44:51 +11:00
ksym.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
libprocps.pc.in Renaming libprocfs to libprocps 2011-12-23 09:18:43 +11:00
libprocps.sym libprocps: hide private symbols 2012-01-24 21:54:01 +01:00
Makefile.am Increase library revision number 2012-03-03 18:47:40 +11:00
procps.h Change restrict to __restrict in public includes 2012-01-09 21:44:51 +11:00
pwcache.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
pwcache.h better handling of long usernames 2004-07-20 23:31:12 +00:00
readproc.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
readproc.h Change restrict to __restrict in public includes 2012-01-09 21:44:51 +11:00
sig.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
sig.h Change restrict to __restrict in public includes 2012-01-09 21:44:51 +11:00
slab.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
slab.h fix overflow on huge NUMA boxes 2005-01-05 21:46:22 +00:00
sysinfo.c libprocps: protect locale environment getting overwrite 2012-04-25 09:34:41 +10:00
sysinfo.h Change restrict to __restrict in public includes 2012-01-09 21:44:51 +11:00
version.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
version.h name change: procps -> procps-ng 2011-06-04 20:50:12 +02:00
wchan.h Change restrict to __restrict in public includes 2012-01-09 21:44:51 +11:00
whattime.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
whattime.h big header clean-up 2002-12-09 07:00:07 +00:00