Browse Source

Merge branch 'freebsd/current/master' into hardened/current/master

* freebsd/current/master:
  sh: Fix rare memory leak with SIGINT
hardened/current/master
HardenedBSD Sync Service 4 months ago
parent
commit
900c60db85
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      bin/sh/cd.c

+ 4
- 1
bin/sh/cd.c View File

@@ -376,8 +376,11 @@ getpwd(void)
return curdir;

p = getpwd2();
if (p != NULL)
if (p != NULL) {
INTOFF;
curdir = savestr(p);
INTON;
}

return curdir;
}

Loading…
Cancel
Save