1. 30 9月, 2019 1 次提交
    • M
      nss: Compare addresses iff their family matches · b62ef642
      Michal Privoznik 提交于
      When parsing leases file, appendAddr() is called to append parsed
      tuple (address, expiry time, family) into an array. Whilst doing
      so, the array is searched for possible duplicate. This is done by
      comparing each item of the array by passed @family: if @family is
      AF_INET then the item is viewed as IPv4 address. Similarly, if
      @family is AF_INET6 then the item is viewed as IPv6 address. This
      is not exactly right - the array can contain addresses of both
      families and thus the address family of each item of the array
      must be considered.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NErik Skultety <eskultet@redhat.com>
      b62ef642
  2. 28 9月, 2019 2 次提交
  3. 27 9月, 2019 24 次提交
  4. 26 9月, 2019 2 次提交
    • M
      domain_conf: Unref video private data in virDomainVideoDefClear() · 4e9d72be
      Michal Privoznik 提交于
      The private data for video definition is created in
      virDomainVideoDefNew() and we attempt to free it in
      virDomainVideoDefFree(). This seems to work, except
      the free function calls clear function which zeroes
      out the whole structure and thus virObjectUnref()
      which is called on private data does nothing.
      
      2,568 bytes in 107 blocks are definitely lost in loss record 207 of 213
         at 0x4A35476: calloc (vg_replace_malloc.c:752)
         by 0x50A6048: virAllocVar (viralloc.c:346)
         by 0x513CC5A: virObjectNew (virobject.c:243)
         by 0x4DC1DEE: qemuDomainVideoPrivateNew (qemu_domain.c:1337)
         by 0x51A6BD6: virDomainVideoDefNew (domain_conf.c:2831)
         by 0x51B9F06: virDomainVideoDefParseXML (domain_conf.c:15541)
         by 0x51CB761: virDomainDefParseXML (domain_conf.c:21158)
         by 0x51C5973: virDomainDefParseNode (domain_conf.c:21708)
         by 0x51C583A: virDomainDefParse (domain_conf.c:21663)
         by 0x51C58AE: virDomainDefParseFile (domain_conf.c:21688)
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NErik Skultety <eskultet@redhat.com>
      4e9d72be
    • C
      spec: Drop unittest overrides · 03449e25
      Cole Robinson 提交于
      nodinfotest.c doesn't exist anymore
      
      seclabeltest.c has changed substantially since this behavior was
      added to the spec, and in my testing doesn't have any problems
      running in mock
      Reviewed-by: NErik Skultety <eskultet@redhat.com>
      Signed-off-by: NCole Robinson <crobinso@redhat.com>
      03449e25
  5. 25 9月, 2019 11 次提交