Commit Graph

  • 07ab1af55c lib/: Remove off-by-one bugs in calls to strncpy(3) Alejandro Colomar 2023-11-15 22:14:18 +01:00
  • 81f0e6a30f lib/log.c: Replace strncpy(3) call by STRTCPY() Alejandro Colomar 2023-11-16 00:08:47 +01:00
  • 09957c6d27 lib/failure.c: Replace strncpy(3) call by STRTCPY() Alejandro Colomar 2023-11-15 23:58:23 +01:00
  • 8a1a097afa lib/utmp.c: Replace strncpy(3) call by ZUSTR2STP() Alejandro Colomar 2023-11-07 18:03:08 +01:00
  • 751f8e055b tests/: Remove references to cracklib Alejandro Colomar 2023-10-30 13:36:04 +01:00
  • 45f34ee8c1 Remove libcrack support Alejandro Colomar 2023-10-30 13:31:42 +01:00
  • 43b4e5a6c4 Remove FascistHistory() and FascistHistoryPw() calls Alejandro Colomar 2023-10-30 12:53:37 +01:00
  • 1c50a44db6 lib/date_to_str.c: strftime(3) leaves the buffer undefined on failure Alejandro Colomar 2023-11-16 15:56:25 +01:00
  • bbf1d9a800 src/logoutd.c: Fix theoretical buffer overrun Alejandro Colomar 2023-11-16 00:26:23 +01:00
  • 2eceb4381c lib/date_to_str.c, configure.ac: Replace calls to strlcpy(3) by strtcpy(3) Alejandro Colomar 2023-11-12 14:10:57 +01:00
  • 3c5a563654 lib/date_to_str.c: Add missing include <config.h> Alejandro Colomar 2023-11-12 23:20:15 +01:00
  • ff8e4ede1e lib/Makefile.am: Add missing source file Alejandro Colomar 2023-11-12 14:10:07 +01:00
  • f9fb855889 src/, lib/, tests/: Rename files defining strtcpy() Alejandro Colomar 2023-11-12 14:08:42 +01:00
  • 090c019ada src/, lib/, tests/: Rename STRLCPY() to STRTCPY() Alejandro Colomar 2023-11-12 14:00:47 +01:00
  • 6adaa40135 lib/strlcpy.[ch]: Implement strtcpy(3) to replace strlcpy_() Alejandro Colomar 2023-11-12 13:43:32 +01:00
  • 0f27931155 lib/strlcpy.[ch]: Fix return type Alejandro Colomar 2023-09-02 14:21:49 +02:00
  • 6879f46327 tests/unit/test_strlcpy.c: Test strlcpy_() and STRLCPY() Alejandro Colomar 2023-10-20 14:58:29 +02:00
  • dad103bdb9 README.md, STABLE.md: record the stable branch URL(s). Alejandro Colomar 2023-09-27 11:45:51 -05:00
  • ee3a79c695 Define SUBUID_FILE/SUBGID_FILE Joakim Tjernlund 2023-11-02 00:00:03 +01:00
  • a9e642d444 CI: fix Fedora 39 build Iker Pedrosa 2023-11-13 09:53:10 +01:00
  • 5c86700fd7 lib/utmp.c: Don't check for NULL before free(3) Alejandro Colomar 2023-10-29 19:46:02 +01:00
  • 22656c36a2 Release 4.14.2 4.14.2 Alejandro Colomar 2023-10-30 00:14:15 +01:00
  • 11071522a2 man: document --prefix option in chage, chpasswd and passwd Michael Vetter 2023-10-20 15:22:35 +02:00
  • 909036d714 useradd: Set proper SELinux labels for def_usrtemplate Johannes Segitz 2023-09-26 15:14:14 +02:00
  • de50b39475 utmp: call prepare_utmp() even if utent is NULL Iker Pedrosa 2023-09-15 09:55:02 +02:00
  • b5c99ec30e lib/btrfs: avoid NULL-dereference Christian Göttsche 2023-01-26 21:03:56 +01:00
  • 58b96645c9 Replace __{BEGIN,END}_DECLS with #ifdef __cplusplus Heiko Becker 2023-08-18 18:23:56 +02:00
  • b11129827a Add keys/ directory with public keys for maintainers Serge Hallyn 2023-10-26 16:40:50 -05:00
  • 01f6258df7 man: document --prefix option in chage, chpasswd and passwd Michael Vetter 2023-10-20 15:22:35 +02:00
  • 2fa907a522 libmisc/copydir: do not forget errors from directory copy Christian Göttsche 2023-01-26 21:37:30 +01:00
  • fa68441bc4 Improve the login.defs unknown item error message Serge Hallyn 2023-10-04 10:38:48 -05:00
  • d73f480ddc autogen.sh: Prepare CFLAGS before ./configure Alejandro Colomar 2023-09-02 17:31:15 +02:00
  • b3652d8a32 lib/: Add missing #include <config.h> Alejandro Colomar 2023-09-01 19:03:05 +02:00
  • a6d795bac5 autogen.sh: CFLAGS: Add -Werror=implicit-function-declaration Alejandro Colomar 2023-09-01 18:57:41 +02:00
  • d5e1c1e475 lib/, src/: Use xasprintf() instead of its pattern Alejandro Colomar 2023-09-02 18:29:26 +02:00
  • ad3b31a59e lib/, src/: Use asprintf(3) instead of strlen(3)+malloc(3)+snprintf(3) Alejandro Colomar 2023-08-25 21:27:05 +02:00
  • c5e5fee606 lib/copydir.c: Use goto to reduce a conditional branch Alejandro Colomar 2023-10-04 18:46:48 +02:00
  • 2a558bd8cb tests/unit/test_xasprintf.c: Test x[v]asprintf() Alejandro Colomar 2023-10-06 17:44:21 +02:00
  • 83c8a2d3fa lib/sprintf.[ch]: Add x[v]asprintf() Alejandro Colomar 2023-08-26 01:27:12 +02:00
  • 7c93e1cdce lib/copydir.c: Invert conditional to reduce nesting Alejandro Colomar 2023-08-25 22:23:24 +02:00
  • 088fe2618f Fix badname option to be singular just like useradd. Dimitri John Ledkov 2023-10-13 01:44:11 +01:00
  • 2e45fff44b Fix mixed-whitespace Dimitri John Ledkov 2023-10-13 01:43:00 +01:00
  • 485b374d09 Update changelog debian/1%4.13+dfsg1-3 Balint Reczey 2023-10-15 19:11:29 +02:00
  • 0d50e1e15f Remove TODO Iker Pedrosa 2023-09-05 16:13:44 +02:00
  • fe299017b1 Remove shadow.spec.in Iker Pedrosa 2023-09-05 16:11:08 +02:00
  • a0546212c0 Remove .travis.yml Iker Pedrosa 2023-09-04 16:44:42 +02:00
  • c883786f4f doc: remove WISHLIST Iker Pedrosa 2023-09-01 16:18:31 +02:00
  • bc35dfe4ec doc: remove README.platforms Iker Pedrosa 2023-09-01 16:11:06 +02:00
  • 2cfa1743d3 doc: remove cracklib26.diff Iker Pedrosa 2023-09-01 16:04:44 +02:00
  • 3a43d72e42 doc: remove console.c.spec.txt Iker Pedrosa 2023-09-01 16:01:16 +02:00
  • b91b3793a9 contrib: remove udbachk.tgz Iker Pedrosa 2023-09-01 15:58:50 +02:00
  • d702e08097 contrib: remove shadow-anonftp.patch Iker Pedrosa 2023-09-01 15:47:25 +02:00
  • 52d2198252 contrib: remove groupmems.shar Iker Pedrosa 2023-09-01 15:40:17 +02:00
  • fbcd8b536a contrib: remove atudel Iker Pedrosa 2023-08-31 16:30:02 +02:00
  • 13a7713384 CI: remove .builds folder Iker Pedrosa 2023-08-31 16:20:54 +02:00
  • 48aa12af31 useradd: Set proper SELinux labels for def_usrtemplate Johannes Segitz 2023-09-26 15:14:14 +02:00
  • 4f49e3fd3e doc: add unit tests Iker Pedrosa 2023-09-15 09:24:41 +02:00
  • 0fc697a4b1 CI: build and run unit tests Iker Pedrosa 2023-09-14 14:41:23 +02:00
  • 015448b049 tests: happy path for active_sessions_count() Iker Pedrosa 2023-09-14 12:47:04 +02:00
  • 163c424999 configure: add cmocka for unit tests Iker Pedrosa 2023-09-14 12:13:21 +02:00
  • 247a869ccd faillog: check for overflows Christian Göttsche 2023-02-28 17:24:22 +01:00
  • 25f0b936c0 Remove myself from uploaders Balint Reczey 2023-09-27 10:22:26 +02:00
  • 776d4d23ac Update changelog Balint Reczey 2023-09-26 22:02:45 +02:00
  • 9f285306f3 Fix valid_field() that regressed in upstream's first CVE fix Balint Reczey 2023-09-26 12:19:29 +02:00
  • f569ea06ff Update changelog Balint Reczey 2023-09-25 18:18:48 +02:00
  • 50defcfa5d Cherry-pick upstream patch to fix chfn vulnerability Balint Reczey 2023-09-25 18:13:40 +02:00
  • 817f3283d1 Release 4.14.1 4.14.1 Alejandro Colomar 2023-09-25 17:55:02 +02:00
  • 56c7502686 Cherry-pick upstream patch to fix gpasswd passwd leak Balint Reczey 2023-09-25 17:55:00 +02:00
  • 7c66acdd2e Update changelog Balint Reczey 2023-09-25 17:41:27 +02:00
  • 4806645316 debian/NEWS: Fix false claim about PREVENT_NO_AUTH affecting authentication Balint Reczey 2023-09-25 17:15:46 +02:00
  • 0e0bcacf3c Release 4.14.1-alx Alejandro Colomar 2023-09-18 14:50:02 +02:00
  • 5178f8c5af utmp: call prepare_utmp() even if utent is NULL Iker Pedrosa 2023-09-15 09:55:02 +02:00
  • 05a41bc4d5 Merge branch 'bprofile-nodoc' into 'master' Balint Reczey 2023-09-13 07:55:26 +00:00
  • 75eb241552 Support <nodoc> build profile Gioele Barabucci 2023-09-13 08:36:38 +02:00
  • 0004cc46dd lib: Merge libmisc into libshadow Alejandro Colomar 2023-08-28 12:54:22 +02:00
  • 1c330177f0 lib, libmisc: Move source files to lib (where their headers were) Alejandro Colomar 2023-08-25 11:29:00 +02:00
  • bef4da47be groupadd: Improve error message when opening group file fails. Vasil Velichkov 2023-09-02 01:29:07 +03:00
  • c1fd94d7d5 lib/mempcpy.[ch]: Remove our definition of mempcpy(3) Alejandro Colomar 2023-09-02 18:14:19 +02:00
  • 9b0f8ddc30 lib/pwauth.c: Replace getpass(3) by agetpass() Alejandro Colomar 2023-09-02 01:58:05 +02:00
  • 7c45a6e8ba lib/agetpass.h: Move prototypes to dedicated header Alejandro Colomar 2023-09-02 02:17:26 +02:00
  • 158866bfdc lib/pwauth.c: Simplify empty string Alejandro Colomar 2023-09-02 01:49:00 +02:00
  • adbdd086a2 lib/pwauth.c: Remove dead code Alejandro Colomar 2023-09-02 00:58:15 +02:00
  • 2b393114c7 lib/pwauth.c: Remove dead code Alejandro Colomar 2023-09-02 00:54:16 +02:00
  • 8893c51480 autogen.sh: Support out-of-tree builds Alejandro Colomar 2023-09-02 14:01:58 +02:00
  • 9514a841bc zustr2stp.h: Assert some assumptions about the size Alejandro Colomar 2023-08-31 15:36:20 +02:00
  • 3bf8d68f10 strlcpy.[ch]: Add strlcpy_() Alejandro Colomar 2023-08-26 15:28:24 +02:00
  • e7a292ed4f Use bzero(3) instead of its pattern Alejandro Colomar 2023-08-01 18:27:50 +02:00
  • 624bacfbd8 Use CALLOC() instead of its pattern Alejandro Colomar 2023-07-31 17:30:59 +02:00
  • 24367027d6 Use STRLCPY() instead of its pattern Alejandro Colomar 2023-07-29 18:22:12 +02:00
  • 370652ba05 defines.h: Remove definition of STRFCPY() Alejandro Colomar 2023-07-29 18:13:06 +02:00
  • 3029883888 passwd: Replace STRFCPY() by STRLCPY() Alejandro Colomar 2023-07-29 18:11:02 +02:00
  • 7bfcf1724c gpasswd: Replace STRFCPY() by STRLCPY() Alejandro Colomar 2023-07-29 18:04:30 +02:00
  • fcc25a03cd login: Replace STRFCPY() by STRLCPY() Alejandro Colomar 2023-07-29 17:56:46 +02:00
  • 6dacb154e5 su: Replace STRFCPY() by STRLCPY() Alejandro Colomar 2023-07-29 17:35:40 +02:00
  • 3e0913f119 sulogin: Replace STRFCPY() by STRLCPY() Alejandro Colomar 2023-07-29 17:28:23 +02:00
  • 2ffc1a76f5 chsh: Replace STRFCPY() by STRLCPY() Alejandro Colomar 2023-06-08 20:46:09 +02:00
  • 8e33195c8e chfn: Replace STRFCPY() by STRLCPY() Alejandro Colomar 2023-06-08 20:39:04 +02:00
  • 5579b40e35 chage: Replace STRFCPY() by STRLCPY() Alejandro Colomar 2023-06-08 20:33:13 +02:00
  • 33abc8bcd9 strlcpy.h: Add STRLCPY() macro Alejandro Colomar 2023-07-29 17:21:24 +02:00
  • b1b5c46668 Use ZUSTR2STP() instead of its pattern Alejandro Colomar 2023-07-30 18:48:36 +02:00