Catch short allocation after saving the format. This is not a catch all, but should catch most of the miss-behaving drivers when doing S_FMT/G_FMT and avoid potential crash.
Catch short allocation after saving the format. This is not a catch all, but should catch most of the miss-behaving drivers when doing S_FMT/G_FMT and avoid potential crash.