Dot segments removal in parse_canonicalize makes the assumption that the entire
path part of the URI fits into the output buffer (len is the length the output
URI would have taken had the output buffer been large enough). So when the
output buffer is too small, remove_dot_segments will access out-of-bound.
Considering URI unescaping could be happening at the same time, there is no
simple way to calculate the required output buffer size correctly without
keeping the actual output URI in memory.
* * *
As you can see from the [test results](https://testbot.winehq.org/JobDetails.pl?Key=158742), this seems to be bugged on native. I don't know if we need to replicate native's behavior
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8331
--
v2: mshtml: Implement 'specified' for detached attributes.
mshtml: Detach attribute nodes when removing the attribute from the element.
mshtml: Use a helper function to find an attribute in the collection's list.
mshtml: Use a BSTR to store the detached attribute's name.
mshtml: Don't include non-specified attributes in getAttributeNode from
mshtml: Only allow a specific set of builtin props as attributes.
mshtml: Use HasAttribute instead of GetAttributeNode when checking if
https://gitlab.winehq.org/wine/wine/-/merge_requests/8251
This MR adds a very basic implementation of `IPropertyDescription` for system defined properties (i.e, the ones in \<propkey.h\>). This is needed to support the [`Properties`](https://learn.microsoft.com/en-us/uwp/api/windows.devices.enumeration.deviceinformation.properties?view=winrt-26100) method for `IDeviceInformation` in Windows.Devices.Enumeration (!6874).
--
v10: propsys: Implement IPropertyDescription for several known system properties.
propsys: Add IPropertyDescription stub for system defined properties.
propsys/tests: Add conformance tests for PSGetNameFromPropertyKey.
propsys: Add stubs for PSGetNameFromPropertyKey.
propsys: Add stubs for PropertySystem.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6892
This MR adds a very basic implementation of `IPropertyDescription` for system defined properties (i.e, the ones in \<propkey.h\>). This is needed to support the [`Properties`](https://learn.microsoft.com/en-us/uwp/api/windows.devices.enumeration.deviceinformation.properties?view=winrt-26100) method for `IDeviceInformation` in Windows.Devices.Enumeration (!6874).
--
v8: propsys: Implement IPropertyDescription for several known system properties.
propsys: Add IPropertyDescription stub for system defined properties.
propsys/tests: Add conformance tests for PSGetNameFromPropertyKey.
propsys: Add stubs for PSGetNameFromPropertyKey.
propsys: Add stubs for PropertySystem.
propsys/tests: Add conformance tests for PSGetPropertyKeyFromName.
propsys/tests: Add conformance tests for getting PropertyDescriptions from PropertySystem.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6892
comctl32/treeview: Return from TREEVIEW_LButtonDown when the treeview handle is invalid.
LButtonDown should return when the treeview handle is invalid (e.g. destroyed) after NM_CLICK to prevent further message processing.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58211
--
v4: comctl32/treeview: Return from TREEVIEW_LButtonDown when the treeview handle is invalid.
comctl32/tests: Add a test for treeview deletion during NM_CLICK in LBUTTONDOWN.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8258
comctl32/treeview: Return from TREEVIEW_LButtonDown when the treeview handle is invalid.
LButtonDown should return when the treeview handle is invalid (e.g. destroyed) after NM_CLICK to prevent further message processing.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58211
--
v3: comctl32/treeview: Return from TREEVIEW_LButtonDown when the treeview handle is invalid.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8258