regedit: Fix a buffer allocation in export_registry_key().

This fixes a major buffer overflow bug in 'regedit /E'.
1 file changed