I was looking at my logs and noticed that smbd had crashed a few times since install. Searched the samba bug database and found this bug which was reporting the same issue. I have applied the patch supplied and updated the package – here’s how I patched and updated:
In your samba source folder, run this after downloading the patch to patch_memory_overwrite.patch:
patch -p1 < patch_memory_overwrite.patch
Build the changes
make
Now, remove the old samba package
sudo apt-get remove samba-4.1.4
Now, install the new one using checkinstall
checkinstall
and follow the same steps as before.
Edit 3/1/2014: Samba 4.1.5 is now available with this fix among others.
1 Reply to “Samba 4.1.4 memory corruption bug”