Hacker News new | past | comments | ask | show | jobs | submit login

Funny thing, windbg apparently uses a fixed-size buffer to store the old-style thread names and it must use strncpy to copy them in because if your thread names are long enough then windbg displays the first ~15 characters and then shows garbage, because strncpy doesn't guarantee null-termination.

Harmless I think, but sloppy.




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

Search: