From: Robert Richter Date: Thu, 19 Jul 2012 16:28:26 +0000 (+0200) Subject: oprofile, s390: Fix uninitialized memory access when writing to oprofilefs X-Git-Tag: v3.6-rc6~16^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81ff3478d9ba7f0b48b0abef740e542fd83adf79;p=pandora-kernel.git 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 --- Reading git-diff-tree failed