mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-22 14:48:12 +00:00
Fix memory allocation for clBuildProgram() retry version
This commit is contained in:
parent
4075577340
commit
9d2c24fc0d
@ -393,7 +393,7 @@ cl_int hc_clBuildProgram (OCL_PTR *ocl, cl_program program, cl_uint num_devices,
|
||||
|
||||
if (CL_err != CL_SUCCESS)
|
||||
{
|
||||
size_t len = strlen (options) + 1 + 15;
|
||||
size_t len = strlen (options) + 256;
|
||||
|
||||
char *options_update = (char *) mymalloc (len + 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user