• S
    [CIFS] Maximum username length check in session setup does not match · 301a6a31
    Steve French 提交于
    Fix length check reported by D. Binderman (see below)
    
    d binderman <dcb314@hotmail.com> wrote:
    >
    > I just ran the sourceforge tool cppcheck over the source code of the
    > new Linux kernel 2.6.33-rc6
    >
    > It said
    >
    > [./cifs/sess.c:250]: (error) Buffer access out-of-bounds
    
    May turn out to be harmless, but best to be safe. Note max
    username length is defined to 32 due to Linux (Windows
    maximum is 20).
    Signed-off-by: NSteve French <sfrench@us.ibm.com>
    301a6a31
sess.c 28.1 KB