The Samba-Bugzilla – Bug 12288
smbcquotas sending wrong param count when setting fs quota
Last modified: 2016-10-19 07:50:05 UTC
When running the command below, the TRANS2 SMB1 command contains a wrong number of parameters, which also results in out-of-bounds memory read while sending the data on the wire.
Windows and Samba servers ignore this so no functional impact is observed other than the valgrind complaint.
smbcquotas -S 'FSGLAGS:QUOTA_ENABLED' -U <credentials> //server/share
There's a number of minor bugs in that god forsaken utility, so I'll pile them all under the same bugzilla bug - 12270
*** This bug has been marked as a duplicate of bug 12270 ***
Reopning, in order to mark each issue with its own bug
Created attachment 12542 [details]
git-am fix for 4.5.next
Re-assigning to Karolin for inclusion in 4.5.next.
(In reply to Jeremy Allison from comment #4)
Pushed to autobuild-v4-5-test.