r16112: Added Volker's fix for extra odd byte at the end
authorJeremy Allison <jra@samba.org>
Fri, 9 Jun 2006 01:36:58 +0000 (01:36 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:17:20 +0000 (11:17 -0500)
of UNIX_BASIC infolevel. Checked client implementations
(cifsfs and libsmb) and they ignore it. Thanks Volker.
Jeremy.

source/smbd/trans2.c

index eda4837ba4beb14b401641da2fb28600a9a78708..71ff79081decff3acbde866662949becd0d30a03 100644 (file)
@@ -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));
 
                        {