[Git][wine/wine][master] 2 commits: scrrun/tests: Add test for hashing failure of a degenerate object key.
Alexandre Julliard pushed to branch master at wine / wine Commits: 4f9d4f30 by Francis De Brabandere at 2026-05-22T14:48:28+02:00 scrrun/tests: Add test for hashing failure of a degenerate object key. When an object used as a dictionary key can no longer be hashed (its QueryInterface for IID_IUnknown fails), Exists and Remove should surface that failure as CTL_E_ILLEGALFUNCTIONCALL rather than treating the key as absent. - - - - - 48fa17c8 by Francis De Brabandere at 2026-05-22T14:48:30+02:00 scrrun/dictionary: Report key-hashing failures from lookups. get_keyitem_pair() returned NULL both when a key was absent and when its hash could not be computed, so Exists reported a present-but-unhashable object key as absent and Remove failed with element-not-found instead of the hashing error. Return the HashVal failure to callers so Exists, Remove, Item, Add, and Key all surface CTL_E_ILLEGALFUNCTIONCALL for a degenerate object key, matching native. - - - - - 2 changed files: - dlls/scrrun/dictionary.c - dlls/scrrun/tests/dictionary.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/b9909c68fbb640555d97176277d5d4... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/b9909c68fbb640555d97176277d5d4... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help
participants (1)
-
Alexandre Julliard (@julliard)