See comment above about badv.  Also, after this point we can't rely on the contents of req.badv...