android_kernel_google_msm/include
Eliad Peller be93eea739 regulatory: add NUL to alpha2
commit a5fe8e7695 upstream.

alpha2 is defined as 2-chars array, but is used in multiple
places as string (e.g. with nla_put_string calls), which
might leak kernel data.

Solve it by simply adding an extra char for the NULL
terminator, making such operations safe.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
[lizf: Backported to 3.4: adjust context]
Signed-off-by: Zefan Li <lizefan@huawei.com>
2014-12-01 18:02:22 +08:00
..
acpi Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux 2012-05-05 10:06:06 -07:00
asm-generic mm: allow arch code to control the user page table ceiling 2013-05-07 19:51:55 -07:00
crypto crypto: scatterwalk - Use sg_chain_ptr on chain entries 2013-12-11 22:34:12 -08:00
drm introduce SIZE_MAX 2014-07-31 12:54:53 -07:00
keys
linux slab/mempolicy: always use local policy from interrupt context 2014-09-25 11:49:17 +08:00
math-emu
media media: v4l2: added missing mutex.h include to v4l2-ctrls.h 2013-09-26 17:15:49 -07:00
misc
mtd
net regulatory: add NUL to alpha2 2014-12-01 18:02:22 +08:00
pcmcia
rdma infiniband: pass rdma_cm module to netlink_dump_start 2012-10-28 10:14:15 -07:00
rxrpc
scsi ore: Fix wrong math in allocation of per device BIO 2014-02-13 11:51:11 -08:00
sound ALSA: control: Protect user controls against concurrent access 2014-06-26 15:10:29 -04:00
target target: Add link_magic for fabric allow_link destination target_items 2013-01-21 11:45:24 -08:00
trace tracing: Fix syscall_*regfunc() vs copy_process() race 2014-07-06 18:49:20 -07:00
video atmel_lcdfb: fix 16-bpp modes on older SOCs 2013-03-20 13:05:00 -07:00
xen xen-netfront: reduce gso_max_size to account for max TCP header 2014-06-07 16:02:15 -07:00
Kbuild