You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2016/11/28 15:45:48 UTC
[trafficserver] branch master updated: TS-5063: Fixes the strlcpy
that I missed
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new b8f0669 TS-5063: Fixes the strlcpy that I missed
b8f0669 is described below
commit b8f06696ff18adb9b5ce59ea739cad2bf0c6f80f
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Mon Nov 28 08:45:18 2016 -0700
TS-5063: Fixes the strlcpy that I missed
---
mgmt/LocalManager.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mgmt/LocalManager.cc b/mgmt/LocalManager.cc
index e10250d..29fd3ca 100644
--- a/mgmt/LocalManager.cc
+++ b/mgmt/LocalManager.cc
@@ -928,7 +928,7 @@ LocalManager::startProxy(const char *onetime_options)
bool open_ports_p = false;
char real_proxy_options[OPTIONS_SIZE];
- ink_strlcpy(real_proxy_options, proxy_options, strlen(proxy_options));
+ ink_strlcpy(real_proxy_options, proxy_options, OPTIONS_SIZE);
if (onetime_options && *onetime_options) {
ink_strlcat(real_proxy_options, " ", OPTIONS_SIZE);
ink_strlcat(real_proxy_options, onetime_options, OPTIONS_SIZE);
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].