Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix string compare for protocol tag logic in UnixNetVConnection. #1616

Merged
merged 1 commit into from
Apr 5, 2017

Conversation

SolidWallOfCode
Copy link
Member

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.

@SolidWallOfCode SolidWallOfCode added this to the 7.2.0 milestone Mar 28, 2017
@SolidWallOfCode SolidWallOfCode self-assigned this Mar 28, 2017
@atsci
Copy link

atsci commented Mar 28, 2017

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/128/

@atsci
Copy link

atsci commented Mar 28, 2017

@atsci
Copy link

atsci commented Mar 28, 2017

@atsci
Copy link

atsci commented Mar 28, 2017

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/240/

@atsci
Copy link

atsci commented Mar 28, 2017

FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/1810/

@atsci
Copy link

atsci commented Mar 28, 2017

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1701/

@SolidWallOfCode
Copy link
Member Author

Dang, that's not going to work either. Because it's a prefix it's not wrong if the incoming tag is shorter than the internal tag.

@atsci
Copy link

atsci commented Mar 28, 2017

clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/372/

@atsci
Copy link

atsci commented Mar 28, 2017

@atsci
Copy link

atsci commented Mar 28, 2017

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/129/

@atsci
Copy link

atsci commented Mar 28, 2017

@atsci
Copy link

atsci commented Mar 28, 2017

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/241/

@atsci
Copy link

atsci commented Mar 28, 2017

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1702/

@atsci
Copy link

atsci commented Mar 28, 2017

FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/1811/

@atsci
Copy link

atsci commented Mar 28, 2017

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/130/

@atsci
Copy link

atsci commented Mar 28, 2017

@atsci
Copy link

atsci commented Mar 28, 2017

clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/373/

@atsci
Copy link

atsci commented Mar 28, 2017

@atsci
Copy link

atsci commented Mar 28, 2017

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/242/

@atsci
Copy link

atsci commented Mar 28, 2017

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1703/

@atsci
Copy link

atsci commented Mar 28, 2017

FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/1812/

@atsci
Copy link

atsci commented Mar 28, 2017

clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/374/

@atsci
Copy link

atsci commented Apr 5, 2017

@atsci
Copy link

atsci commented Apr 5, 2017

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/158/

@atsci
Copy link

atsci commented Apr 5, 2017

@atsci
Copy link

atsci commented Apr 5, 2017

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1730/

@atsci
Copy link

atsci commented Apr 5, 2017

FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/1839/

@atsci
Copy link

atsci commented Apr 5, 2017

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/269/

@atsci
Copy link

atsci commented Apr 5, 2017

clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/401/

@SolidWallOfCode SolidWallOfCode merged commit ebd6815 into apache:master Apr 5, 2017
@zwoop zwoop modified the milestones: 7.2.0, 8.0.0 Apr 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants