• Dan Carpenter's avatar
    eicon: make buffer larger · c2dddf94
    Dan Carpenter authored
    In diva_mnt_add_xdi_adapter() we do this:
      strcpy (clients[id].drvName,     tmp);
      strcpy (clients[id].Dbg.drvName, tmp);
    
    The "clients[id].drvName" is a 128 character buffer and
    "clients[id].Dbg.drvName" was originally a 16 character buffer but I've
    changed it to 128 as well.  We don't actually use 128 characters but we
    do use more than 16.
    
    I've also changed the size of "tmp" to 128 characters instead of 256.
    Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    c2dddf94
debuglib.h 11.5 KB