fix(image): do not attach to invalid buffers
fix(image): do not attach to invalid buffers: a task in github-trending-environments-10k (Harbor dataset). Title: fix(image): do not attach to invalid buffers
The task
**Title:** fix(image): do not attach to invalid buffers