rhelmus/virtmem

Strcpy issue

deadgamer1030 opened this issue · 0 comments

In the strcpy function, a function called strCopier is used. When the function checks for a null character it checks the destination and not the source. If a string is being copied to junk data then this can cause undefined behavior. I had an issue with this that caused the function to continue writing and eventually caused the spi allocator to corrupt and causing undefined behavior.