It uses this stream&x + 1 to determine the size of some random structure x. I wonder why this is a legal decision? Will this ever cause a segmentation error?
My understanding, as long as it &x + 1remains in the memory available for the current thread, it will be fine, but if in &x + 1some way it tries to access a part of the memory outside its allowable range, it will cause seg of fault, is that right?
source
share