Applying: malloc: Improve checked_request2size