This article from EDN points out a potential problem when using a pot and adjustable voltage regulator like an LM317 – if the pot gets intermittent, the load will be subject to an "Oh crap" full-supply-voltage moment. I had never considered that possibility before but this could make for a bad day depending on what the load is.
The fix is pretty simple, requiring a single transistor to clamp the voltage if the pot opens.
The fix is pretty simple, requiring a single transistor to clamp the voltage if the pot opens.