ITADN

Stack buffer overflow when reading and writing strings

#27Closedstephenberry 创建于 2023-12-20
S
stephenberrycommented
Note that if you use an address sanitizer you'll find stack buffer overflows when reading and writing strings. Reading is only a problem at the end of the input buffer. Writing is a problem for pretty much every string you write out, because you load multiple bytes at a time without regard for the end of the string, thus loading potentially invalid memory.
关闭于 2023-12-21 1 条评论