GitHub user SolidWallOfCode opened a pull request:

    https://github.com/apache/trafficserver/pull/1616

    Fix string compare for protocol tag logic in UnixNetVConnection.

    Switch to using the `StringView` based `strcmp` which handles length 
issues. The current code is a bit weak on that (it assumes the incoming `tag` 
is never longer). Make the implementation not inline, it's a bit big for that.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/SolidWallOfCode/trafficserver 
i-agree-with-phil-7

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/1616.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1616
    
----
commit 50c7bec9852e951dcdf161d6bbb508319b002342
Author: Alan M. Carroll <[email protected]>
Date:   2017-03-28T20:51:53Z

    Fix string compare for protocol tag logic in UnixNetVConnection.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to