Commit Graph

23 Commits

Author SHA1 Message Date
matthieu
f9024c4d46 Pass the correct buffer length to strlcpy() to avoid truncation.
Problem noticed by Edgar Pettijohn III, ok tb@
2018-10-28 19:38:19 +00:00
matthieu
6d7357f962 Bind <Key>Escape to erase-line by default. 2018-07-11 16:28:54 +00:00
matthieu
c8c914a77e Less ifdef cruft. 2018-07-11 16:26:25 +00:00
matthieu
bf265b5bbc use strvis on login name when logging debug information it since it
may contain control characters. And remove an extra logging of the same.
2018-07-11 16:20:20 +00:00
matthieu
91c82fae6b Remove useless ifdefs 2018-07-10 14:50:21 +00:00
matthieu
a08190694c Get rid of strcpy and strncpy (they were all looking safe though) 2018-07-10 14:44:34 +00:00
matthieu
1b4f7ecea8 Consistant use of bool whenever possible. 2018-07-10 14:20:42 +00:00
matthieu
e5b6c5a29f Source the Xsetup script before initializing the greeter widget.
Based on a request by weerd@, tested by jca@ and weerd@
2018-07-09 15:02:41 +00:00
matthieu
537654d79d Unused variables found by clang 2018-05-06 15:25:27 +00:00
matthieu
e1e9d732f3 Stop abusing cpp as generic macro processor in the build system.
ok naddy@
2017-07-26 21:14:54 +00:00
matthieu
8dbc1a3a1a regen 2016-11-11 16:22:02 +00:00
matthieu
d5119169fa regen 2016-11-11 15:25:34 +00:00
matthieu
4a2df54825 Use explicit_bzero(). With BSD auth these data have already been
wiped when we reach those points but just in case.
2016-11-06 13:30:15 +00:00
matthieu
abef35bfcd GreetUser() doen't need to return the X display pointer. 2016-11-06 12:41:24 +00:00
matthieu
6ba2835960 Check strdup return value 2016-11-06 10:21:29 +00:00
matthieu
5f2163b431 Remove useless endpwent() calls 2016-11-06 10:17:38 +00:00
matthieu
33973f7a55 Add an autologin mode to xenodm. 2016-11-06 09:26:47 +00:00
matthieu
95d0cac0e3 endpwent() is not needed after getpwnam() 2016-10-23 20:38:36 +00:00
matthieu
6098c35094 Use explicit_bzero() to wipe the password 2016-10-23 11:31:42 +00:00
matthieu
1dfe3ca042 greet->password is wiped after handling it to auth_setdata().
No need to wipe again it later.
2016-10-23 11:30:03 +00:00
matthieu
186b6af863 Remove out-dated comment 2016-10-23 10:44:52 +00:00
matthieu
25805cbb51 Generate autotools build system 2016-10-23 08:32:59 +00:00
matthieu
5394d9088b Add xenodm a stripped down xdm (X Display Manager) for OpenBSD. 2016-10-23 08:30:37 +00:00