26 May
2025
26 May
'25
8:34 a.m.
Hans Leidekker (@hans) commented about dlls/kerberos/unixlib.c:
struct unseal_message_params *params = args; gss_ctx_id_t ctx = ctxhandle_sspi_to_gss( params->context );
- if (is_dce_style_context( ctx )) return unseal_message_vector( ctx, params ); + if (is_dce_style_context( ctx )) + { + if (params->stream_length) return SEC_E_INVALID_HANDLE; + return unseal_message_vector( ctx, params );
It seems that GSS_IOV_BUFFER_TYPE_STREAM matches this case. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8116#note_104546