• E
    storage: avoid crash on parse error · 5dc404b7
    Eric Blake 提交于
    Coverity detected that we could crash on bogus input.  Meanwhile,
    strtok_r is rather heavy compared to strchr.
    
    * src/storage/storage_backend_iscsi.c (virStorageBackendIQNFound):
      Check for parse failure, and use lighter-weight functions.
    5dc404b7
storage_backend_iscsi.c 21.8 KB