aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/check-xl-vif-parse
Commit message (Collapse)AuthorAgeFilesLines
* libxl: fix vif rate parsingIan Jackson2013-10-101-0/+4
| | | | | | | | | | | | | | | strtok can return NULL here. We don't need to use strtok anyway, so just use a simple strchr method. Coverity-ID: 1055642 This is CVE-2013-4369 / XSA-68 Signed-off-by: Matthew Daley <mattjd@gmail.com> Fix type. Add test case Signed-off-by: Ian Campbell <Ian.campbell@citrix.com>
* xl: add "check-xl-vif-parse" test scriptMathieu Gagne2012-04-241-0/+209
This test script runs "xl -N network-attach 0 <foobar>" against various rate syntax and checks that the output is as expected. [ Added entries to .hgignore and .gitignore for tools/libxl/tmp.* -iwj ] Signed-off-by: Mathieu Gagne <mgagne@iweb.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>