diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-11-02 19:48:15 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-11-02 19:48:15 +0000 |
commit | b563afb1641962b2b7aed20467423c4338d37ff9 (patch) | |
tree | 141c5b88a4e5b4dedb55f0a335b7d0f75b72c8cb /lib/libc/string/memcpy.c | |
parent | 42fb388946741215df2b55813ca5c11a1c12ebe1 (diff) | |
download | FreeBSD-src-b563afb1641962b2b7aed20467423c4338d37ff9.zip FreeBSD-src-b563afb1641962b2b7aed20467423c4338d37ff9.tar.gz |
When encoding an smb name, truncate one byte earlier in order than we did
previously in order to ensure it fit properly in the bufer when encoded.
This prevents a debugging printf from firing if a source or destination
host name for an smb mount exceeds 15 characters.
MFC after: 3 days
Obtained from: Apple, Inc.
Diffstat (limited to 'lib/libc/string/memcpy.c')
0 files changed, 0 insertions, 0 deletions