Changeset 948 in openpam
Legend:
- Unmodified
- Added
- Removed
-
trunk/CREDITS
r943 r948 19 19 Baptiste Daroussin <bapt@freebsd.org> 20 20 Brian Fundakowski Feldman <green@freebsd.org> 21 Brooks Davis <brooks@freebsd.org> 21 22 Christos Zoulas <christos@netbsd.org> 22 23 Daniel Richard G. <skunk@iskunk.org> -
trunk/HISTORY
r945 r948 1 OpenPAM ??? 2020-07-?? 2 3 - BUGFIX: Fix race condition in openpam_ttyconv(3) when used with 4 expect scripts. 5 ============================================================================ 1 6 OpenPAM Tabebuia 2019-02-24 2 7 -
trunk/lib/libpam/openpam_ttyconv.c
r938 r948 95 95 char ch; 96 96 97 /* write prompt */98 if (write(ofd, message, strlen(message)) < 0) {99 openpam_log(PAM_LOG_ERROR, "write(): %m");100 return (-1);101 }102 103 97 /* turn echo off if requested */ 104 98 slflag = 0; /* prevent bogus uninitialized variable warning */ … … 114 108 return (-1); 115 109 } 110 } 111 112 /* write prompt */ 113 if (write(ofd, message, strlen(message)) < 0) { 114 openpam_log(PAM_LOG_ERROR, "write(): %m"); 115 return (-1); 116 116 } 117 117
Note: See TracChangeset
for help on using the changeset viewer.