>Instead of doing what was intended, moving the string up one place, the code has different behaviour.
Yes, it will fill the buffer with "H" which is what I would expect to happen - not immediately obvious, but sensible. (any 370 assembler guys will recognise MVC as doing this). If you want to copy from one mem location to another even if they overlap *and* preserve the contents, then you should use memmove and pay the overhead of the temporary buffer it probably allocates. Dave ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
