{"id":278252,"date":"2026-06-22T01:59:00","date_gmt":"2026-06-22T05:59:00","guid":{"rendered":"https:\/\/news-you-need.com\/index.php\/2026\/06\/22\/after-6-years-and-over-360-commits-linux-7-2-finally-removes-a-persistent-source-of-bugs\/"},"modified":"2026-06-22T05:25:46","modified_gmt":"2026-06-22T09:25:46","slug":"after-6-years-and-over-360-commits-linux-7-2-finally-removes-a-persistent-source-of-bugs","status":"publish","type":"post","link":"https:\/\/news-you-need.com\/index.php\/2026\/06\/22\/after-6-years-and-over-360-commits-linux-7-2-finally-removes-a-persistent-source-of-bugs\/","title":{"rendered":"After 6 years and over 360 commits, Linux 7.2 finally removes &#8220;a persistent source of bugs&#8221;"},"content":{"rendered":"<p><a href=\"https:\/\/www.xda-developers.com\/after-6-years-and-over-360-commits-linux-72-finally-removes-a-persistent-source-of-bugs\/\">After 6 years and over 360 commits, Linux 7.2 finally removes &#8220;a persistent source of bugs&#8221;<\/a><\/p>\n<p><a href=\"https:\/\/www.xda-developers.com\/after-6-years-and-over-360-commits-linux-72-finally-removes-a-persistent-source-of-bugs\/\">https:\/\/www.xda-developers.com\/after-6-years-and-over-360-commits-linux-72-finally-removes-a-persistent-source-of-bugs\/<\/a><\/p>\n<p>Publish Date: <a href=\"publish_date]\">2026-06-22 01:59:00<\/a><\/p>\n<p>Source Domain: <a href=\"www.xda-developers.com\">www.xda-developers.com<\/a><\/p>\n<h3 class=\"title icon i-list\">Summary<\/h3>\n<ul>\n<li>\n                                        Linux 7.2 removes the buggy strncpy API after a long cleanup process.\n                        <\/li>\n<li>\n                                        The cleanup spanned over six years and hundreds of commits; Justin Stitt alone added 211 of them.\n                        <\/li>\n<li>\n                                        strncpy could leave destinations non-NUL or zero-pad unnecessarily; its removal should boost kernel stability.\n                        <\/li>\n<\/ul>\n<p>The world of Linux kernel development never sleeps. Linux 7.1 has only just been released, and people are already getting code added to Linux 7.2&#8217;s build. Fortunately, because open-source software&#8217;s development tends to be, you know, open, we can see all the changes Linus Torvalds is accepting to the Linux 7.2 kernel as they happen.<\/p>\n<p>One change that just made the cut marks the end of a six-year-long battle and 362 commits, with the removal of the strncpy API. It&#8217;s good news for everyone, as strncpy was causing far more problems than it was worth, and should hopefully result in a more stable kernel overall.<\/p>\n<h2 id=\"linux-7-2-finally-waves-goodbye-to-the-strncpy-api\">\n                        Linux 7.2 finally waves goodbye to the strncpy API<br \/>\n               <\/h2>\n<h3 id=\"i-have-a-feeling-it-won-39-t-be-missed\">\n            I have a feeling it won&#8217;t be missed<br \/>\n    <\/h3>\n<p>As spotted by Phoronix, a new update has been merged into the Linux 7.2&#8230;<\/p>\n<p><a href=\"https:\/\/www.xda-developers.com\/after-6-years-and-over-360-commits-linux-72-finally-removes-a-persistent-source-of-bugs\/\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After 6 years and over 360 commits, Linux 7.2 finally removes &#8220;a persistent source of&#8230;<\/p>\n","protected":false},"author":1,"featured_media":278253,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/static0.xdaimages.com\/wordpress\/wp-content\/uploads\/wm\/2026\/06\/img_4838.png?w=1600&h=900&fit=crop","fifu_image_alt":"","footnotes":""},"categories":[48],"tags":[71],"class_list":["post-278252","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux"],"_links":{"self":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/278252"}],"collection":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/comments?post=278252"}],"version-history":[{"count":1,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/278252\/revisions"}],"predecessor-version":[{"id":278254,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/278252\/revisions\/278254"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media\/278253"}],"wp:attachment":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media?parent=278252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/categories?post=278252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/tags?post=278252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}