Only use strtoul when str is not NULL, this addresses a coverity
warning.
Use strlcpy rather than strncpy
Only copy the lun backend string when it is valid
Differential D34762
ctld: Fix coverity raised issues thj on Apr 4 2022, 11:06 AM. Authored by Tags None Referenced Files
Details Only use strtoul when str is not NULL, this addresses a coverity Use strlcpy rather than strncpy Only copy the lun backend string when it is valid I tested that this runs and mounts with the handbook example:
Diff Detail
Event Timeline
|