bug 696; check for an invalid fid before dereferencing the fsp pointer