Check for buffer overflows on data returns from RegQueryValueExA.