code: def test_buffer_overflow(c_parser_only, malformed):
      # see gh-9205: test certain malformed input files that cause
      # buffer overflows in tokenizer.c
      msg = "Buffer overflow caught - possible malformed input file."
      parser = c_parser_only
  
      with pytest.raises(ParserError, match=msg):
          parser.read_csv(StringIO(malformed))
  
imports: from decimal import Decimal
  from io import BytesIO, StringIO, TextIOWrapper
  import mmap
  import os
  import tarfile
  import numpy
  import pytest
  from pandas.compat.numpy import np_version_gte1p24
  from pandas.errors import ParserError, ParserWarning
  import pandas.util._test_decorators
  from pandas import DataFrame, concat
  import pandas._testing
label_desc: Use image node_id 1 for calling a global function with example usage: test_buffer_overflow(c_parser_only, malformed) without return types