• Linus Torvalds's avatar
    Merge tag 'bounds-fixes-v5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 8565d644
    Linus Torvalds authored
    Pull bounds fixes from Kees Cook:
     "These are a handful of buffer and array bounds fixes that I've been
      carrying in preparation for the coming memcpy improvements and the
      enabling of '-Warray-bounds' globally.
    
      There are additional similar fixes in other maintainer's trees, but
      these ended up getting carried by me. :)"
    
    * tag 'bounds-fixes-v5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
      media: omap3isp: Use struct_group() for memcpy() region
      tpm: vtpm_proxy: Check length to avoid compiler warning
      alpha: Silence -Warray-bounds warnings
      m68k: cmpxchg: Dereference matching size
      intel_th: msu: Use memset_startat() for clearing hw header
      KVM: x86: Replace memset() "optimization" with normal per-field writes
    8565d644
emulate.c 148 KB