freebsd-ports/security/putty/files/patch-unix_uxpgnt.c
Matthias Andree 4c5a117abd Update security/putty to 0.71 security fix release
Unfortunately, this new release breaks GSSAPI_NONE, which is removed
for now. Bug has been reported upstream.

Changelog: https://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html

MFH:		2019Q1
Security:	46e1ece5-48bd-11e9-9c40-080027ac955c
2019-03-17 14:17:26 +00:00

11 lines
511 B
C

--- unix/uxpgnt.c.orig 2019-03-16 12:26:38 UTC
+++ unix/uxpgnt.c
@@ -241,7 +241,7 @@ void pageant_fork_and_print_env(bool retain_tty)
/* Get out of our previous process group, to avoid being
* blasted by passing signals. But keep our controlling tty,
* so we can keep checking to see if we still have one. */
- setpgrp();
+ setpgrp(0,0);
} else {
/* Do that, but also leave our entire session and detach from
* the controlling tty (if any). */