From 088c571df8ae984e761a5975ddbf66a652ad0264 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 9 Jun 2006 01:36:58 +0000 Subject: r16112: Added Volker's fix for extra odd byte at the end of UNIX_BASIC infolevel. Checked client implementations (cifsfs and libsmb) and they ignore it. Thanks Volker. Jeremy. (This used to be commit 6cd1cb5c9deba2aa0d7a3251c8142834cbaba6d1) --- source3/smbd/trans2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index eda4837ba4..71ff79081d 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -3431,7 +3431,7 @@ total_data=%u (should be %u)\n", (unsigned int)total_data, (unsigned int)IVAL(pd SIVAL(pdata,0,sbuf.st_nlink); /* number of hard links */ SIVAL(pdata,4,0); - pdata += 8+1; + pdata += 8; data_size = PTR_DIFF(pdata,(*ppdata)); { -- cgit