Live data from Hacker News

How I fixed libuv

davidvgalbraith.com

1–5 of 5 posts

Re: How I fixed libuv

#2
This is great and thorough explanation, thanks Dave for following all the issue deep down the rabbit hole :-)

Disclaimer: I'm one of the libuv maintainers.

Re: How I fixed libuv

#3
It's probably overly pedantic of me, but:

> Segmentation faults happen in C when a program makes an invalid memory access.

Segmentation faults CAN happen, but don't need to. Just as likely some padding space (no effect at all), program data (some of your data will contain garbage) or code pointers (worst case! this means arbitrary code execution) can be overwritten.

Re: How I fixed libuv

#4
post #3

It's probably overly pedantic of me, but: > Segmentation faults happen in C when a program makes an invalid memory access. Segmentation faults CAN happen, but don't need to. Just as likely some padding space (no effect at all), program data (some of your data will contain garbage) or code pointers (worst case! this means arbitrary code execution) can be overwritten.

Dunno why you are being downvoted, that sounds correct to me!

Re: How I fixed libuv

#5
post #3

It's probably overly pedantic of me, but: > Segmentation faults happen in C when a program makes an invalid memory access. Segmentation faults CAN happen, but don't need to. Just as likely some padding space (no effect at all), program data (some of your data will contain garbage) or code pointers (worst case! this means arbitrary code execution) can be overwritten.

Thanks! Updated the post with "Segmentation faults can happen in C..."