You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/04/07 06:07:25 UTC
[jira] [Commented] (TS-4329) Off-by-one error in NULL terminator
for aname in hostdb
[ https://issues.apache.org/jira/browse/TS-4329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15229645#comment-15229645 ]
ASF GitHub Bot commented on TS-4329:
------------------------------------
GitHub user jacksontj opened a pull request:
https://github.com/apache/trafficserver/pull/555
TS-4329 Off-by-one error in NULL terminator for aname in hostdb
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jacksontj/trafficserver TS-4329
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/555.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 #555
----
commit 15b5793568e25df655cce3df4c0e27ae88a3277c
Author: Thomas Jackson <ja...@apache.org>
Date: 2016-04-07T04:06:20Z
TS-4329 Off-by-one error in NULL terminator for aname in hostdb
----
> Off-by-one error in NULL terminator for aname in hostdb
> -------------------------------------------------------
>
> Key: TS-4329
> URL: https://issues.apache.org/jira/browse/TS-4329
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Thomas Jackson
>
> This line https://github.com/apache/trafficserver/blob/master/iocore/hostdb/HostDB.cc#L1373
> Is off by one, and ink_strlcpy takes care of it so we can just remove the line.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)