security/sudo: Update to 1.9.8p2

Major changes between sudo 1.9.8p2 and 1.9.8p1:

 * Fixed a potential out-of-bounds read with "sudo -i" when the
   target user's shell is bash.  This is a regression introduced
   in sudo 1.9.8.  Bug #998.

 * sudo_logsrvd now only sends a log ID for first command of a session.
   There is no need to send the log ID for each sub-command.

 * Fixed a few minor memory leaks in intercept mode.

 * Fixed a problem with sudo_logsrvd in relay mode if "store_first"
   was enabled when handling sub-commands.  A new zero-length journal
   file was created for each sub-command instead of simply using
   the existing journal file.

PR:		258666
Submitted by:	cy
Reported by:	cy
Approved by:	garga (maintainer)

(cherry picked from commit 3c5b4dac33)
This commit is contained in:
Cy Schubert 2021-09-21 10:16:29 -07:00
parent 5815766ccf
commit 1188e21867
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Created by: erich@rrnet.com
PORTNAME= sudo
PORTVERSION= 1.9.8p1
PORTVERSION= 1.9.8p2
CATEGORIES= security
MASTER_SITES= SUDO

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1631825413
SHA256 (sudo-1.9.8p1.tar.gz) = 0939ee24df7095a92e0ca4aa3bd53b2a10965a7b921d51a26ab70cdd24388d69
SIZE (sudo-1.9.8p1.tar.gz) = 4302104
TIMESTAMP = 1632243869
SHA256 (sudo-1.9.8p2.tar.gz) = 9e3b8b8da7def43b6e60c257abe80467205670fd0f7c081de1423c414b680f2d
SIZE (sudo-1.9.8p2.tar.gz) = 4302256