1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00
putty-source/unix
Simon Tatham f69591412c We shouldn't fork off a utmp helper subprocess when we aren't setuid,
because (a) under that circumstance we won't be writing to utmp
anyway, and (b) if we aren't setuid, then we won't have created the
pty at the point we fork, so even if our subprocess _could_ have
written to utmp it wouldn't have done it right!

Spotted by valgrind (triggering on the access beyond the end of the
ttyname string in setup_utmp, clueing me in to it having been empty).

[originally from svn r9309]
2011-09-19 16:38:23 +00:00
..
configure.ac Instead of testing for different versions of GTK in increasing order 2011-08-20 08:18:56 +00:00
gtkcfg.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
gtkcols.c Reinstate all the GTK1-specific code under ifdefs, and verify that 2008-04-04 10:56:26 +00:00
gtkcols.h First stab at a GTK layout engine. It's missing all sorts of stuff 2003-03-13 19:52:28 +00:00
gtkdlg.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
gtkfont.c Add a missing initialisation to NULL. 2011-09-19 16:21:25 +00:00
gtkfont.h Support font fallback even when an X11 server-side font is selected, 2011-09-16 19:18:54 +00:00
gtkwin.c Support font fallback even when an X11 server-side font is selected, 2011-09-16 19:18:54 +00:00
unix.h Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
ux_x11.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxagentc.c Mostly cosmetic change: don't claim to have found an SSH agent if 2011-07-16 12:03:14 +00:00
uxcfg.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxcons.c If we're printing password prompts to /dev/tty rather than standard 2011-08-11 18:13:34 +00:00
uxgen.c Missing close() causing resource leak when reading from /dev/random. 2010-09-09 14:36:46 +00:00
uxgss.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxmisc.c Stop attempting to make session logs private on Unix. This was introduced in 2009-02-23 22:40:09 +00:00
uxnet.c Revamp of EOF handling in all network connections, pipes and other 2011-09-13 11:44:03 +00:00
uxnoise.c Fix minor file descriptor leaks. Found by cppcheck, reported by Tim Kosse. 2009-09-16 22:28:20 +00:00
uxplink.c Revamp of EOF handling in all network connections, pipes and other 2011-09-13 11:44:03 +00:00
uxprint.c Update to r8614: another -D_FORTIFY_SOURCE=2 fix. 2010-02-20 11:21:25 +00:00
uxproxy.c Revamp of EOF handling in all network connections, pipes and other 2011-09-13 11:44:03 +00:00
uxpterm.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxpty.c We shouldn't fork off a utmp helper subprocess when we aren't setuid, 2011-09-19 16:38:23 +00:00
uxputty.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxsel.c Changed my mind about r7164. Instead of checking for zero flags 2007-01-26 20:00:32 +00:00
uxser.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxsftp.c Propagate file permissions in both directions in Unix pscp and psftp. 2011-08-11 17:59:30 +00:00
uxsignal.c Rename some of the more stupidly named files in the Unix back end. 2004-12-31 13:02:46 +00:00
uxstore.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxucs.c Add some missing consts in character set handling. 2011-09-16 19:18:52 +00:00
xkeysym.c Support for non-ISO-8859-1 X keysyms. So in particular, pterm in a 2003-04-27 11:10:48 +00:00
xpmptcfg.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmpterm.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmpucfg.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmputty.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00