Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
When memmove() fails (realm.io)
8 points by lladnar on May 5, 2017 | hide | past | favorite | 1 comment


The actual bug, from the QT bug report:

This is due to a bug in the memmove() implementation for overlapping memory on this particular device, which returns dest + n instead of dest. The compiler in turn recognizes memmove() and uses the return value as an optimization instead of saving the dest pointer on the stack.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: