From: Ian Jackson Date: Thu, 10 Oct 2013 14:48:55 +0000 (+0100) Subject: libxl: fix vif rate parsing X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~6185 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c53702cee1d6f9f1b72f0cae0b412e21bcda8724;p=xen.git libxl: fix vif rate parsing 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 Fix type. Add test case Signed-off-by: Ian Campbell --- diff --git a/tools/libxl/check-xl-vif-parse b/tools/libxl/check-xl-vif-parse index 0473182a4d..02c6dbaeb6 100755 --- a/tools/libxl/check-xl-vif-parse +++ b/tools/libxl/check-xl-vif-parse @@ -206,4 +206,8 @@ expected