1. 10 1月, 2017 3 次提交
  2. 04 1月, 2017 4 次提交
  3. 16 12月, 2016 1 次提交
  4. 15 12月, 2016 1 次提交
  5. 30 11月, 2016 1 次提交
    • G
      virtio-crypto: fix uninitialized variables · 9730280d
      Gonglei 提交于
      Though crypto_cfg.reserve is an unused field, let me
      initialize the structure in order to make coverity happy.
      
      *** CID 1365923:  Uninitialized variables  (UNINIT)
      /hw/virtio/virtio-crypto.c: 851 in virtio_crypto_get_config()
      845         stl_le_p(&crypto_cfg.mac_algo_h, c->conf.mac_algo_h);
      846         stl_le_p(&crypto_cfg.aead_algo, c->conf.aead_algo);
      847         stl_le_p(&crypto_cfg.max_cipher_key_len, c->conf.max_cipher_key_len);
      848         stl_le_p(&crypto_cfg.max_auth_key_len, c->conf.max_auth_key_len);
      849         stq_le_p(&crypto_cfg.max_size, c->conf.max_size);
      850
      >>>     CID 1365923:  Uninitialized variables  (UNINIT)
      >>>     Using uninitialized value "crypto_cfg". Field "crypto_cfg.reserve"
             is uninitialized when calling "memcpy".
            [Note: The source code implementation of the function
             has been overridden by a builtin model.]
      851         memcpy(config, &crypto_cfg, c->config_size);
      852     }
      853
      Rported-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NGonglei <arei.gonglei@huawei.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      9730280d
  6. 18 11月, 2016 4 次提交
  7. 15 11月, 2016 8 次提交
  8. 02 11月, 2016 7 次提交
  9. 31 10月, 2016 11 次提交