[
https://issues.apache.org/jira/browse/TS-4329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15229656#comment-15229656
]
ASF GitHub Bot commented on TS-4329:
------------------------------------
Github user bgaff commented on the pull request:
https://github.com/apache/trafficserver/pull/555#issuecomment-206689366
:+1: ink_strlcpy will deal with the null terminator, looks good.
> 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
> Assignee: 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)