[PATCH 0/3] tighten up integer parsing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]