Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-4362

cfs_hash_rehash_key() passed wrong parameters to cfs_hash_keycpy

    XMLWordPrintable

Details

    • 3
    • 11945

    Description

      cfs_hash_rehash_key()->cfs_hash_keycpy(hs, new_key, hnode);
      but define of cfs_hash_keycpy is:
      void cfs_hash_keycpy(cfs_hash_t *hs, struct hlist_node *hnode, void *key)

      This is very dangerous because it can corrupt memory.
      I will post a patch soon

      Attachments

        Activity

          People

            liang Liang Zhen (Inactive)
            liang Liang Zhen (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: