upserver: Don't overflow file and hostname buffers
authorSimon Wilkinson <sxw@your-file-system.com>
Mon, 4 Mar 2013 16:22:08 +0000 (16:22 +0000)
committerDerrick Brashear <shadow@your-file-system.com>
Tue, 12 Mar 2013 13:51:20 +0000 (06:51 -0700)
commitd672d5ee78d7673f3c42a7a343989b2bd4dca02b
tree2fc8b90b74f95fdccc47f309c3a50af2e798c2e4
parentceac74a6baad79155adaa692639b1d9f403525b6
upserver: Don't overflow file and hostname buffers

If the user specifies a ridiculously long command line, don't
overflow the filename or hostname buffers with what they supply.

Caught by coverity (#985911)

Change-Id: Ia73f9fb94491f5691358eec1d13dbdd2651a604c
Reviewed-on: http://gerrit.openafs.org/9546
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/update/client.c