]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-ioctl-prefix-data-20080726
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 27 Jul 2008 03:48:11 +0000 (03:48 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 27 Jul 2008 03:48:11 +0000 (03:48 +0000)
commit3cabc05df9af0db4e77de187735d49559e4fbf49
tree84c03242d08866e543de20bdad4f185193f05bfc
parent16c3b92545d9130f2a4dbe233d567e6d705d499a
DEVEL15-windows-ioctl-prefix-data-20080726

LICENSE MIT

The ioctl-prefix-data can be accessed either via a char_t or a wchar_t.
Copy the data buffer with memcpy() and not strcpy() because we need to
copy the entire string if it happens to be Unicode.

(cherry picked from commit eb1ff11bf14cfc64b4e224ef574d62e6e3757bc1)
src/WINNT/afsd/smb_ioctl.c