1. 01 7月, 2014 1 次提交
    • P
      libqtest: escape strings in QMP commands, fix leak · 563890c7
      Paolo Bonzini 提交于
      libqtest is using g_strdup_printf to format QMP commands, but
      this does not work if the argument strings need to be escaped.
      Instead, use the fancy %-formatting functionality of QObject.
      The only change required in tests is that strings have to be
      formatted as %s, not '%s' or \"%s\".  Luckily this usage of
      parameterized QMP commands is not that frequent.
      
      The leak is in socket_sendf.  Since we are extracting the send
      loop to a new function, fix it now.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      563890c7
  2. 22 1月, 2014 1 次提交
  3. 07 11月, 2013 1 次提交
  4. 19 7月, 2013 1 次提交
  5. 15 11月, 2012 6 次提交
  6. 17 7月, 2012 2 次提交
  7. 09 7月, 2012 2 次提交
  8. 22 6月, 2012 1 次提交
  9. 15 6月, 2012 1 次提交
  10. 26 5月, 2012 1 次提交
  11. 10 5月, 2012 1 次提交