snaplen fix for buffers that don't come from the user