{"id":130,"date":"2014-02-07T10:45:51","date_gmt":"2014-02-07T18:45:51","guid":{"rendered":"http:\/\/nramkumar.org\/tech\/?p=130"},"modified":"2014-03-01T09:11:38","modified_gmt":"2014-03-01T17:11:38","slug":"samba-4-1-4-memory-corruption-bug","status":"publish","type":"post","link":"https:\/\/nramkumar.org\/tech\/blog\/2014\/02\/07\/samba-4-1-4-memory-corruption-bug\/","title":{"rendered":"Samba 4.1.4 memory corruption bug"},"content":{"rendered":"<p>I was looking at my logs and noticed that smbd had crashed a few times since install. Searched the samba bug database and found <a title=\"samba bug\" href=\"https:\/\/bugzilla.samba.org\/show_bug.cgi?id=10415\" target=\"_blank\">this<\/a> bug which was reporting the same issue. I have applied the patch supplied and updated the package &#8211; here&#8217;s how I patched and updated:<\/p>\n<p>In your samba source folder, run this after downloading the patch to patch_memory_overwrite.patch:<\/p>\n<pre>patch -p1 &lt; patch_memory_overwrite.patch<\/pre>\n<p>Build the changes<\/p>\n<pre>make<\/pre>\n<p>Now, remove the old samba package<\/p>\n<pre>sudo apt-get remove samba-4.1.4<\/pre>\n<p>Now, install the new one using checkinstall<\/p>\n<pre>checkinstall<\/pre>\n<p>and follow the same steps as before.<\/p>\n<p><strong>Edit 3\/1\/2014:\u00a0 <\/strong>Samba 4.1.5 is now available with this fix among others.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8211; here&#8217;s how I patched and updated: In your samba source folder, run&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,43,44,6],"tags":[],"class_list":["post-130","post","type-post","status-publish","format-standard","hentry","category-linux","category-samba","category-smb","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/posts\/130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/comments?post=130"}],"version-history":[{"count":3,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/posts\/130\/revisions"}],"predecessor-version":[{"id":169,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/posts\/130\/revisions\/169"}],"wp:attachment":[{"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/media?parent=130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/categories?post=130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nramkumar.org\/tech\/wp-json\/wp\/v2\/tags?post=130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}