"James Hawkins" truiken@gmail.com wrote:
ptr = keyname + strlenW(keyname);
I guess it holds true here as well because keyname is a pointer and we're adding ot it. If that is the case, the included patch fixes the two things mentioned.
You have to look for other similar, not mentioned cases, and fix them as well.