This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Paweł Sikora <pluto@agmk.net> wrote:> [...]
__m128i m1 = *( __m128i* )( s1 );
SIGSEGV will occur when the input strings are within 15 bytes below an address-space boundary, such as the high end of user address space.
Problem disappear if code operate on 16-byte aligned chunks. It need few additional instructions and is absolute **safe**.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |