Email or username:

Password:

Forgot your password?
Top-level
Mika

@briancs @dan myself I recall that this turned out to be a bug in Linux where the memory was getting corrupted by these calls

3 comments
Brian Stafford

@mkf @dan bug or misuse. Memcpy() is explicitly documented to have undefined behaviour if copied regions overlap. You need memmove() if that is the case. I'd be truly astonished if a bug in memcpy() laid undiscovered for any length of time. Literally everything would be broken.

Mika

@briancs @dan that is a good basis for presuming my memory may wrong me, wouldn't be a rare occurence. i will sometime see back in my fedi boosts to find the thing i may have had misread and come back with it

Go Up