]> git.michaelhowe.org Git - packages/o/openafs.git/commit
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)
committerStephan Wiesand <stephan.wiesand@desy.de>
Tue, 3 Jun 2014 16:58:27 +0000 (12:58 -0400)
commit7597fdda3ff949077829727c26f4bd289c4ae285
tree8caea7714896d2c5f2d635201fac3932401c1f63
parentfd403e3f2ad74e7d568a4982d99af1acba305b55
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)

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>
(cherry picked from commit d672d5ee78d7673f3c42a7a343989b2bd4dca02b)

Change-Id: Id86f5488bfb3bbf5794af43e9f8fe84a2fe796c3
Reviewed-on: http://gerrit.openafs.org/11064
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/update/client.c