Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.16.0
-
3
-
9223372036854775807
Description
CID 424705: Security best practices violations (STRING_OVERFLOW)
/lustre/obdclass/upcall_cache.c: 187 in upcall_cache_set_upcall()
181 invalid: 182 OBD_FREE(upcall, count + 1); 183 return -EINVAL; 184 185 valid: 186 down_write(&cache->uc_upcall_rwsem); CID 424705: Security best practices violations (STRING_OVERFLOW) You might overrun the 1024-character fixed-size string "cache->uc_upcall" by copying "upcall" without checking the length. 187 strcpy(cache->uc_upcall, upcall); 188 up_write(&cache->uc_upcall_rwsem); 189 190 OBD_FREE(upcall, count + 1); 191 return 0; 192 }
Attachments
Issue Links
- is related to
-
LU-17724 sanity-sec test_69: crash the setting sptlrpc.gss.rsi_upcall=prog
- Resolved