mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-15 07:41:09 -08:00
* src/emacs.c (load_seccomp): Add a useful assertion.
This commit is contained in:
parent
496a46b32d
commit
2db03e3e53
1 changed files with 1 additions and 0 deletions
|
|
@ -1060,6 +1060,7 @@ load_seccomp (const char *file)
|
|||
emacs_perror ("read");
|
||||
goto out;
|
||||
}
|
||||
eassert (read <= SIZE_MAX);
|
||||
if (read != size)
|
||||
{
|
||||
fprintf (stderr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue