checkpoint-restore / criu

Checkpoint/Restore tool
criu.org
Other
2.9k stars 583 forks source link

mount: fix unbounded write #2412

Closed rst0git closed 4 months ago

rst0git commented 4 months ago

Replace sprintf() with snprintf() and specify maximum length of characters to avoid potential overflow.

Reported-by: GitHub CodeQL