trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Peach <jpe...@apache.org>
Subject Re: ATS and GCC stack-protector
Date Fri, 25 Jul 2014 17:15:25 GMT
On Jul 25, 2014, at 6:11 AM, Reindl Harald <h.reindl@thelounge.net> wrote:

> maybe a look worth (5.0.1 source tarball)

My best guess is that this is GCC not liking alloca(3). Current gcc docs say the alloca is
supported by -fstack-protector, but I don't know if that's true for earlier GCC version.

> 
> UnixEventProcessor.cc:69:1: warning: stack protector not protecting local variables:
variable length buffer
> [-Wstack-protector]
> HostDB.cc:1119:1: warning: stack protector not protecting local variables: variable length
buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:164:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:316:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:272:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:358:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:62:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:358:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:62:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:358:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:62:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:164:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> Store.cc:129:1: warning: stack protector not protecting local variables: variable length
buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:164:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:62:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:358:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:164:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:316:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:272:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:358:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> ../../iocore/cluster/P_ClusterInline.h:62:1: warning: stack protector not protecting
local variables: variable
> length buffer [-Wstack-protector]
> ./P_ClusterCache.h:1112:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> ClusterCache.cc:2508:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> ClusterCache.cc:1645:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> ClusterVConnection.cc:517:1: warning: stack protector not protecting local variables:
variable length buffer
> [-Wstack-protector]
> ClusterCache.cc:2683:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> ClusterCache.cc:375:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> ./P_ClusterInline.h:164:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> ./P_ClusterInline.h:316:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> ./P_ClusterInline.h:272:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> ./P_ClusterInline.h:358:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> ./P_ClusterInline.h:62:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> ink_inet.cc:249:1: warning: stack protector not protecting local variables: variable
length buffer [-Wstack-protector]
> ink_inet.cc:372:1: warning: stack protector not protecting local variables: variable
length buffer [-Wstack-protector]
> RecHttp.cc:225:1: warning: stack protector not protecting local variables: variable length
buffer [-Wstack-protector]
> RecHttp.cc:225:1: warning: stack protector not protecting local variables: variable length
buffer [-Wstack-protector]
> HdrHeap.cc:618:1: warning: stack protector not protecting local variables: variable length
buffer [-Wstack-protector]
> WebMgmtUtils.cc:1289:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> WebHttp.cc:247:1: warning: stack protector not protecting local variables: variable length
buffer [-Wstack-protector]
> Alarms.cc:174:1: warning: stack protector not protecting local variables: variable length
buffer [-Wstack-protector]
> LocalManager.cc:422:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> LocalManager.cc:676:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> ProcessManager.cc:169:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> ProcessManager.cc:236:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> UrlRewrite.cc:287:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> HttpTransactHeaders.cc: In static member function 'static void
> HttpTransactHeaders::insert_warning_header(HttpConfigParams*, HTTPHdr*, HTTPWarningCode,
const char*, int)':
> HttpTransactHeaders.cc:726:1: warning: stack protector not protecting local variables:
variable length buffer
> [-Wstack-protector]
> HttpTransactHeaders::insert_warning_header(HttpConfigParams *http_config_param, HTTPHdr
*header, HTTPWarningCode code,
> HttpTransact.cc:468:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> HttpTransact.cc:7615:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> HttpTransact.cc:7916:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> HttpTransact.cc:1114:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> StatSystem.cc:395:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> Prefetch.cc:538:1: warning: stack protector not protecting local variables: variable
length buffer [-Wstack-protector]
> InkAPI.cc:6999:1: warning: stack protector not protecting local variables: variable length
buffer [-Wstack-protector]
> ../iocore/cluster/P_ClusterInline.h:164:1: warning: stack protector not protecting local
variables: variable length
> buffer [-Wstack-protector]
> ../iocore/cluster/P_ClusterInline.h:358:1: warning: stack protector not protecting local
variables: variable length
> buffer [-Wstack-protector]
> ../iocore/cluster/P_ClusterInline.h:62:1: warning: stack protector not protecting local
variables: variable length
> buffer [-Wstack-protector]
> regex_remap.cc:870:1: warning: stack protector not protecting local variables: variable
length buffer
> [-Wstack-protector]
> 


Mime
View raw message