]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
bozo: fix overrun from -rxbind on restart
authorMichael Meffie <mmeffie@sinenomine.net>
Mon, 26 Sep 2011 15:59:55 +0000 (11:59 -0400)
committerDerrick Brashear <shadow@dementix.org>
Fri, 7 Oct 2011 17:32:12 +0000 (10:32 -0700)
Fix buffer overrun in bosctlsrv introduced
by commit 544ff1b295a57b50afefa6146094434db7608355

Reviewed-on: http://gerrit.openafs.org/5504
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
(cherry picked from commit 48e326372d89b0d778420f268dbe59236758eba8)

Change-Id: Ic1226d7d093e3d0ab364aa72d676110a6c382dc2
Reviewed-on: http://gerrit.openafs.org/5538
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/WINNT/bosctlsvc/bosctlsvc.c

index b5fe2c599619fc11a9f3bbf1e1c5bcc8dc32302f..475d7acc71a91f90a31ce1492d76ec7da9a8c6f9 100644 (file)
@@ -35,7 +35,7 @@
 
 #define BOSSERVER_STARTMSG_EXE  "afslegal.exe"
 
-#define BOSSERVER_RESTART_ARG_MAX  2  /* "-noauth", "-log" */
+#define BOSSERVER_RESTART_ARG_MAX  3  /* "-noauth", "-log", "-rxbind" */
 #define BOSSERVER_WAIT_TIME_HINT  60  /* seconds */
 #define BOSSERVER_STOP_TIME_MAX  (FSSDTIME + 60)  /* seconds */