The KB'ing Glock in 40S&W is relatively old news. You can search for pictures of case head support for each Glock generation. If you have one that does not fully support the case head AND you shoot factory ammo, it is safe, but creates "pregnant" brass where the unsupported area of the case expands and is yielded. A person can resize and reload this brass in another gun, with a fully supported chamber, with no ill affects. The problem occurs when someone reloads that pregnant brass AND the case is oriented such that the yielded "pregnant" area of the brass case is in the same unsupported area of the barrel. When fired under those circumstances, THEN the yielded area of the case at the unsupported portion of the barrel has the ability to rupture. Glock has changed their 40S&W barrels to better support the case head. If you end up with an older generation AND want to reload for it, most people just purchase one of the many aftermarket barrels that fully support the case head.
From the gun manufacturer's perspective, it's a balance. Customers would say they want an incredibly accurate gun, that always fires, and will feed every kind of ammo. Unfortunately, we cannot have the best quality for the cheapest price in the shortest timeframe. For a simple example: To feed everything, the tolerances have to be wider for ammo variation at the expense of some accuracy (e.g. Glock). To be more accurate, the tolerances have to be tighter, at the expense of feeding everything (e.g. Kimber).