1. 05 10月, 2017 25 次提交
  2. 04 10月, 2017 12 次提交
  3. 03 10月, 2017 2 次提交
  4. 02 10月, 2017 1 次提交
    • J
      nwfilter: Don't have virNWFilterIPAddrMapAddIPAddr consume input · a55eaced
      John Ferlan 提交于
      On pure success paths, virNWFilterIPAddrMapAddIPAddr was validly
      consuming the input @addr; however, on failure paths it was possible
      that virNWFilterVarValueCreateSimple succeed, but virNWFilterHashTablePut
      failed resulting in virNWFilterVarValueFree being called to clean
      up @val which also cleaned up the input @addr. Thus the caller had
      no way to determine on failure whether it too should clean up the
      passed parameter.
      
      Instead, let's create a copy of the input @addr, then handle that
      properly in the API allowing/forcing the caller to free it's own
      copy of the input parameter.
      a55eaced