mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-18 14:18:11 +00:00
Merge pull request #200 from magnumripper/master
Bugfix: putenv(3) was used with a stack variable, that's a no-no.
This commit is contained in:
commit
d544cdb60d
@ -5072,7 +5072,7 @@ int main (int argc, char **argv)
|
||||
|
||||
if (compute)
|
||||
{
|
||||
char display[100] = { 0 };
|
||||
static char display[100];
|
||||
|
||||
snprintf (display, sizeof (display) - 1, "DISPLAY=%s", compute);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user