mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-12 05:00:50 +02:00
size_t changes for multibyte characters; fix for running debug trap in asynchronous pipeline; remove support for precomputed cache files for cross-compiling; more size_t and ssize_t changes to avoid overflow
This commit is contained in:
+4
-1
@@ -536,7 +536,10 @@ _rl_audit_tty (char *string)
|
||||
size = strlen (string) + 1;
|
||||
|
||||
if (NLMSG_SPACE (size) > MAX_AUDIT_MESSAGE_LENGTH)
|
||||
return;
|
||||
{
|
||||
close (fd);
|
||||
return;
|
||||
}
|
||||
|
||||
memset (&req, 0, sizeof(req));
|
||||
req.nlh.nlmsg_len = NLMSG_SPACE (size);
|
||||
|
||||
Reference in New Issue
Block a user