Commit d6aa50f7 authored by Philipp Stephani's avatar Philipp Stephani
Browse files

* src/emacs.c (read_full): Add a few assertions.

parent 56e8d969
Pipeline #10242 passed with stages
in 41 minutes and 27 seconds
......@@ -973,6 +973,9 @@ emacs_seccomp (unsigned int operation, unsigned int flags, void *args)
static ptrdiff_t
read_full (int fd, void *buffer, ptrdiff_t size)
{
eassert (0 <= fd);
eassert (buffer != NULL);
eassert (0 <= size);
enum
{
/* See MAX_RW_COUNT in sysdep.c. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment