]> git.ipfire.org Git - thirdparty/squid.git/commit - src/ipc/Port.cc
Validate -n service name parameter value
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 14 Jul 2014 12:58:03 +0000 (05:58 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 14 Jul 2014 12:58:03 +0000 (05:58 -0700)
commitd5f21615719ee41caf8841e0480dd5affdc9b707
treeea983afe0ecbddfb6607b400e32da7b9827fea48
parentfa720bfbffea58f40958d0f6dc67fca6a53e8862
Validate -n service name parameter value

Service name is used for path prefixes in SHM/UDS sockets, Windows
service name, Unix/Linux/BSD daemon names, and file path segments.

Restrict service names to a max 32 character alphanumeric value in order
to accommodate as widely portable names as possible in all these cases.
src/WinSvc.cc
src/cache_cf.cc
src/globals.h
src/ipc/Port.cc
src/main.cc
src/stat.cc