Skip to content
Snippets Groups Projects
B

boddle-golang-irc

Project ID: 8953
Select Git revision
1 result Searching
  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Eric Seppanen authored and Nicholas Bellinger committed
    In iSCSI negotiations with initiator CHAP enabled, usernames with
    trailing garbage are permitted, because the string comparison only
    checks the strlen of the configured username.
    
    e.g. "usernameXXXXX" will be permitted to match "username".
    
    Just check one more byte so the trailing null char is also matched.
    
    Signed-off-by: default avatarEric Seppanen <eric@purestorage.com>
    Cc: <stable@vger.kernel.org> #3.1+
    Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
    86784c6b
    History
    Name Last commit Last update