I thought my recent improvements to <memory> parsing were complete,
until I stumbled upon
https://bugzilla.redhat.com/show_bug.cgi?id=617711,
which shows a file that fails 'virt-xml-validate' but was silently
accepted, and worse, misintepreted the user's intentions.
I didn't have time to scrub the entire code base, but I can at least
prevent the clean files from getting worse.
Eric Blake (3):
virsh: avoid strtol
conf: tighten up XML integer parsing
build: avoid strtol and strtod
cfg.mk | 14 ++++++++++
src/conf/domain_conf.c | 12 +++-----
src/conf/storage_conf.c | 6 ++--
src/util/util.c | 14 +++++-----
src/util/virmacaddr.c | 2 +-
src/util/xml.c | 36 +++----------------------
tools/virsh.c | 66 +++++++++++++---------------------------------
7 files changed, 53 insertions(+), 97 deletions(-)
--
1.7.7.6