[tor-commits] [tor/master] for fuzzing: Add a function to make a buf with given contents