Joseph Wu created MESOS-3748:
--------------------------------

             Summary: HTTP API does not gracefully parse invalid resource 
identifiers
                 Key: MESOS-3748
                 URL: https://issues.apache.org/jira/browse/MESOS-3748
             Project: Mesos
          Issue Type: Bug
          Components: framework, HTTP API
    Affects Versions: 0.25.0
            Reporter: Joseph Wu
            Assignee: Joseph Wu


If you pass a nonsense string for "master" into a framework using the HTTP API, 
the framework segfaults.

For example, using the example frameworks:

{code}
build/src/test-framework --master="asdf://127.0.0.1:5050"
{code}
Results in:
{code}
Failed to create a master detector for 'asdf://127.0.0.1:5050': Failed to parse 
'asdf://127.0.0.1:5050'
{code}

{code}
export DEFAULT_PRINCIPAL=root
build/src/event-call-framework --master="asdf://127.0.0.1:5050"
{code}
Results in
{code}
I1015 16:18:45.432075 2062201600 scheduler.cpp:157] Version: 0.26.0
Segmentation fault: 11
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to