VirtualBox

Changeset 74116 in vbox for trunk/src


Ignore:
Timestamp:
Sep 6, 2018 1:11:14 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
124883
Message:

IPRT/rest: Do not assert things about data we get from the network.

Curl returns status line as part of the header, don't freak out b/c it
doesn't have a colon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/rest/RTCRestClientResponseBase.cpp

    r74025 r74116  
    218218
    219219        const char *pchColon = (const char *)memchr(a_pchData, ':', cchFieldNoCrLf);
    220         Assert(pchColon);
    221220        if (pchColon)
    222221        {
     
    319318            }
    320319        }
     320        /*
     321         * else { verify that it's the HTTP/... line at the start }
     322         */
    321323
    322324        /*
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette