OPENAFS-SA-2018-002 butc: Initialize OUT scalar value
authorBenjamin Kaduk <kaduk@mit.edu>
Thu, 30 Aug 2018 15:38:56 +0000 (10:38 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Tue, 11 Sep 2018 00:49:28 +0000 (19:49 -0500)
commit4dd98168f0fc851716d30fc1e2839f11304a4d04
tree65405cb18f9f23bc7d978eb71c36b637f589e3ac
parentab8a6ab1230f5274630e0d0b9e35a778b6d9f79b
OPENAFS-SA-2018-002 butc: Initialize OUT scalar value

In STC_ReadLabel, the interaction with the tape device is
synchronous, so there is no need to allocate a task ID for status
monitoring.  However, we do need to initialize the output value,
to avoid writing stack garbage on the wire.

(cherry picked from commit f5a80115f8f7f9418287547f0fc7fdb13d936f00)

(cherry picked from commit 418b2ab56c60e44375df31a3a8f77461d577a5ff)

(cherry picked from commit babbb2824a5e3d6210b9079ab08f8771ac6ef892)

Change-Id: Ie18bbe7542a23d2ce952cfcd5288ee0aa43bb71f
src/butc/tcprocs.c