You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package/utils/busybox/patches
Jo-Philipp Wich 1211832977 busybox: handle crypt() errors in loginutils
The crypt(3) function is allowed to fail with either EINVAL or ENOSYS when
the given salt is either invalid or when the requested algorithm is not
implemented.

In such a case, libbb's pw_encrypt() function will silently convert the
crypt() NULL return value into an empty string which is then processed
without further errors by utilities such as chpasswd or passwd, causing
them to set an empty password when an unsupported cipher is requested.

Patch the relevant users of pw_encrypt() to abort in case an empty hash
is returned by pw_encrypt() in order to mitigate the problem.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years ago
..
100-trylink_bash.patch busybox: update to 1.22.1 10 years ago
101-gen_build_files_bash.patch busybox: update to 1.22.1 10 years ago
110-no_static_libgcc.patch busybox: update to 1.22.1 10 years ago
120-lto-jobserver.patch busybox: compile with LTO enabled 6 years ago
130-mconf_missing_sigwinch.patch busybox: update to 1.29.2 6 years ago
200-udhcpc_reduce_msgs.patch busybox: update to 1.30.0 5 years ago
201-udhcpc_changed_ifindex.patch busybox: update to 1.30.0 5 years ago
203-udhcpc_renew_no_deconfig.patch busybox: update to 1.30.0 5 years ago
210-add_netmsg_util.patch busybox: convert netmsg and lock applet to "new style" applet definition 7 years ago
220-add_lock_util.patch busybox: convert netmsg and lock applet to "new style" applet definition 7 years ago
230-add_nslookup_lede.patch busybox: update to 1.28.2 6 years ago
240-telnetd_intr.patch busybox: update to 1.26.2 7 years ago
250-date-k-flag.patch busybox: update to 1.28.2 6 years ago
270-libbb_make_unicode_printable.patch busybox: update to 1.30.0 5 years ago
301-ip-link-fix-netlink-msg-size.patch busybox: update to 1.29.2 6 years ago
500-move-traceroute-applets-to-bin.patch busybox: clean up patch fuzz 6 years ago
510-move-passwd-applet-to-bin.patch busybox: update to 1.28.2 6 years ago
520-loginutils-handle-crypt-failures.patch busybox: handle crypt() errors in loginutils 5 years ago