Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • kernel
  • range.c
Find file BlameHistoryPermalink
  • Louis Langholtz's avatar
    kernel: avoid overflow in cmp_range · fc7f0dd3
    Louis Langholtz authored Jan 15, 2015
    
    
    Avoid overflow possibility.
    
    [ The overflow is purely theoretical, since this is used for memory
      ranges that aren't even close to using the full 64 bits, but this is
      the right thing to do regardless.  - Linus ]
    
    Signed-off-by: default avatarLouis Langholtz <lou_langholtz@me.com>
    Cc: Yinghai Lu <yinghai@kernel.org>
    Cc: Peter Anvin <hpa@linux.intel.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    fc7f0dd3
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7