OpenCloudOS-Kernel/arch/s390/oprofile
Robert Richter 81ff3478d9 oprofile, s390: Fix uninitialized memory access when writing to oprofilefs
If oprofilefs_ulong_from_user() is called with count equals zero, *val
remains unchanged. Depending on the implementation it might be
uninitialized. Fixing users of oprofilefs_ulong_ from_user().

We missed these s390 changes with:

 913050b oprofile: Fix uninitialized memory access when writing to writing to oprofilefs

Cc: stable@vger.kernel.org  # 3.3+
Signed-off-by: Robert Richter <robert.richter@amd.com>
2012-08-27 14:49:23 +02:00
..
Makefile [S390] oprofile: disable hw sampling for CONFIG_32BIT 2011-03-23 10:15:14 +01:00
backtrace.c s390: make use of user_mode() macro where possible 2012-07-30 11:03:12 +02:00
hwsampler.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
hwsampler.h [S390] oprofile: fix min/max interval query checks 2011-05-10 17:13:43 +02:00
init.c oprofile, s390: Fix uninitialized memory access when writing to oprofilefs 2012-08-27 14:49:23 +02:00
op_counter.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00