code: def _test_buffer_overflow(tmp_path, im, size=1024):
      _last = ImageFile.MAXBLOCK
      ImageFile.MAXBLOCK = size
      try:
          _roundtrip(tmp_path, im)
      finally:
          ImageFile.MAXBLOCK = _last
  
file_path: pillow/Tests/test_file_pcx.py
imports: from __future__ import annotations
  import pytest
  from PIL import Image, ImageFile, PcxImagePlugin
  from .helper import assert_image_equal, hopper
label_desc: Use image node_id 9 for calling a global function with example usage: _test_buffer_overflow(tmp_path, im, size) without return types