Comment 5 for bug 1548702

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/17654
Committed: http://github.org/Juniper/contrail-controller/commit/dc9c5e98358001e9d39444a67cf2593b4e2245f9
Submitter: Zuul
Branch: R3.0

commit dc9c5e98358001e9d39444a67cf2593b4e2245f9
Author: Prabhjot Singh Sethi <email address hidden>
Date: Tue Feb 23 19:47:30 2016 +0530

Fix handling empty url string for Health Check

Issue:
------
when url string is empty http parser does not seems to
return error and urldata being uninitialised cause
invalid length access in string.

Fix:
----
skip url parsing if url path is empty, this will allow
health check to fallback default to
"http:://<vmi-instance-ip>"

Closes-Bug:1548702
Change-Id: Iba608d01fa89656a7b902ca4781331ca60ac9789
(cherry picked from commit 60ecf03c6d710c79173b83c6afbbfc21bda68e64)