http://bugzilla.suse.com/show_bug.cgi?id=1137071 http://bugzilla.suse.com/show_bug.cgi?id=1137071#c4 --- Comment #4 from Marcus Meissner <meissner@suse.com> --- in get_aes_property if (!strcmpW( prop, (const WCHAR []){'C','h','a','i','n','i','n','g','M','o','d','e',0} )) { const WCHAR *str; switch (mode) { case MODE_ID_ECB: str = (const WCHAR []){'C','h','a','i','n','i','n','g','M','o','d','e','E','C','B',0}; break; case MODE_ID_CBC: str = (const WCHAR []){'C','h','a','i','n','i','n','g','M','o','d','e','C','B','C',0}; break; case MODE_ID_GCM: str = (const WCHAR []){'C','h','a','i','n','i','n','g','M','o','d','e','G','C','M',0}; break; default: return ((NTSTATUS) 0xC0000002); } // this is the debug output: do { if((((__wine_dbch___default))->flags & (1 << __WINE_DBCL_FIXME))) { struct __wine_debug_channel * const __dbch = (__wine_dbch___default); const enum __wine_debug_class __dbcl = __WINE_DBCL_FIXME; wine_dbg_log( __dbcl, __dbch, __FUNCTION__, "mode %d, str is %s, prop is %s\n", mode, debugstr_w(str), debugstr_w(prop)); } } while(0); // back to real code: *ret_size = 64; if (size < *ret_size) return ((NTSTATUS) 0xC0000023); memcpy( buf, str, (strlenW(str) + 1) * sizeof(WCHAR) ); return ((NTSTATUS) 0x00000000); } For some reason str after the switch is the same as prop. 0009:fixme:bcrypt:get_aes_property mode 1, str is 0x34f700/L"ChainingMode", prop is 0x34f990/L"ChainingMode" Under gcc8: 0009:fixme:bcrypt:get_aes_property mode 1, str is 0x34f6e0/L"ChainingModeCBC", prop is 0x34f990/L"ChainingMode" -- You are receiving this mail because: You are on the CC list for the bug.