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
  • Jonathan Brassow's avatar
    DM RAID: Fix comparison of index and quantity for "rebuild" parameter · 7386199c
    Jonathan Brassow authored Oct 11, 2012
    
    
    DM RAID: Fix comparison of index and quantity for "rebuild" parameter
    
    The "rebuild" parameter takes an index argument that starts counting from
    zero.  The conditional used to validate the index was using '>' rather than
    '>=', leaving the door open for an index value that would be 1 too large.
    
    Reported-by: default avatarNeil Brown <neilb@suse.de>
    Signed-off-by: default avatarJonathan Brassow <jbrassow@redhat.com>
    Signed-off-by: default avatarNeilBrown <neilb@suse.de>
    7386199c

Imprint & Privacy Policy