Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-x86
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe-x86
  • Repository
Switch branch/tag
  • ipipe-x86
  • drivers
  • md
  • dm-raid.c
Find file BlameHistoryPermalink
  • Jonthan Brassow's avatar
    dm: raid fix write_mostly arg validation · 82324809
    Jonthan Brassow authored Sep 25, 2011
    
    
    Fix off-by-one error in validation of write_mostly.
    
    The user-supplied value given for the 'write_mostly' argument must be an
    index starting at 0.  The validation of the supplied argument failed to
    check for 'N' ('>' vs '>='), which would have caused an access beyond the
    end of the array.
    
    Reported-by: default avatarDoug Ledford <dledford@redhat.com>
    Signed-off-by: default avatarJonathan Brassow <jbrassow@redhat.com>
    Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
    82324809

Imprint & Privacy Policy