mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-22 12:32:04 +00:00
Work around segmentation fault in Intel JiT 2021.12.6.0.19_160000 compiling hc_enc_next()/hc_enc_next_global()
This commit is contained in:
parent
0810126145
commit
3d4e2aec43
@ -2066,6 +2066,12 @@ DECLSPEC int hc_enc_next (hc_enc_t *hc_enc, const u32 *src_buf, const int src_le
|
|||||||
|
|
||||||
int src_pos = hc_enc->pos;
|
int src_pos = hc_enc->pos;
|
||||||
|
|
||||||
|
#if VENDOR_ID == 8
|
||||||
|
// Work around segmentation fault in Intel JiT
|
||||||
|
// Tested with 2021.12.6.0.19_160000
|
||||||
|
volatile
|
||||||
|
#endif
|
||||||
|
|
||||||
int dst_pos = hc_enc->clen;
|
int dst_pos = hc_enc->clen;
|
||||||
|
|
||||||
dst_buf[0] = hc_enc->cbuf;
|
dst_buf[0] = hc_enc->cbuf;
|
||||||
@ -2197,6 +2203,12 @@ DECLSPEC int hc_enc_next_global (hc_enc_t *hc_enc, GLOBAL_AS const u32 *src_buf,
|
|||||||
|
|
||||||
int src_pos = hc_enc->pos;
|
int src_pos = hc_enc->pos;
|
||||||
|
|
||||||
|
#if VENDOR_ID == 8
|
||||||
|
// Work around segmentation fault in Intel JiT
|
||||||
|
// Tested with 2021.12.6.0.19_160000
|
||||||
|
volatile
|
||||||
|
#endif
|
||||||
|
|
||||||
int dst_pos = hc_enc->clen;
|
int dst_pos = hc_enc->clen;
|
||||||
|
|
||||||
dst_buf[0] = hc_enc->cbuf;
|
dst_buf[0] = hc_enc->cbuf;
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#define IS_OPENCL
|
#define IS_OPENCL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if defined IS_NATIVE
|
#if defined IS_NATIVE
|
||||||
#define CONSTANT_VK
|
#define CONSTANT_VK
|
||||||
#define CONSTANT_AS
|
#define CONSTANT_AS
|
||||||
|
Loading…
Reference in New Issue
Block a user