Description
*** CID 457073: Resource leaks (RESOURCE_LEAK) /lustre/llite/crypto.c: 571 in ll_fname_disk_to_usr() 565 /* Without the key for long names, set the dentry name 566 * to the representing struct ll_digest_filename. It 567 * will be encoded by llcrypt for display, and will 568 * enable further lookup requests. 569 */ 570 if (!fid) CID 457073: Resource leaks (RESOURCE_LEAK) Variable "lltr" going out of scope leaks the storage "lltr.name" points to. 571 return -EINVAL; 572 digest.ldf_fid = *fid; 573 memcpy(digest.ldf_excerpt, 574 LLCRYPT_EXTRACT_DIGEST(lltr.name, lltr.len), 575 sizeof(digest.ldf_excerpt)); 576
"Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/58372
Subject: LU-18796 llite: fix coverity issue in ll_fname_disk_to_usr
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2324987af8c6a61c4e3f5b64623ccecc40d459bc