]> xenbits.xensource.com Git - libvirt.git/commit
Fix format string handling in network driver
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 2 May 2013 11:33:55 +0000 (12:33 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 3 May 2013 09:29:07 +0000 (10:29 +0100)
commit5c1678ab2ce4c49cd1657636febcbf18e141fa7f
tree32886fc66cadbac5d64c06eacabc19100dae2577
parentbb5cd5644597c21d5588b1ea1055cfcffd4e4502
Fix format string handling in network driver

The call to virReportError conditionally switched between
two format strings, with different numbers of placeholders.
This meant the format string with no placeholders was not
protected by a "%s".

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/network/bridge_driver.c