Read past the end of buffer in g_win32_package_parser_enum_packages
Running claws mail for windows with app verifier enabled crashes on startup with an access violation. Looking into it, this memcpy in g_win32_package_parser_enum_packages():
manifest_filename_size = wcslen (wcs_path) + wcslen (bslash_appmanifest);
manifest_filename = g_new (wchar_t, manifest_filename_size + 1);
memcpy (manifest_filename, wcs_path, manifest_filename_size * sizeof (wchar_t));
reads past the end of wcs_path.
The attached patch limits the memcpy to wcslen (wcs_path) * sizeof (wchar_t)