On 2025/10/28 4:25 PM, Andrew C Aitchison via Exim-users wrote:
In function ‘read’,
     inlined from ‘rda_read_string’ at rda.c:493:7:
/usr/include/x86_64-linux-gnu/bits/unistd.h:32:10: error: ‘__read_alias’
   specified size 18446744073709551615 exceeds maximum object size
   9223372036854775807 [-Werror=stringop-overflow=]
    32 |   return __glibc_fortify (read, __nbytes, sizeof (char),
       |          ^~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/unistd-decl.h: In function
   ‘rda_read_string’:
/usr/include/x86_64-linux-gnu/bits/unistd-decl.h:29:16: note: in a call to
   function ‘__read_alias’ declared with attribute access (write_only, 2, 3)’
    29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd,
      void *__buf,
       |                ^~~~~~~~~~~~~~~~~~

Any idea what "specified size" it is referring to?

My best guess is the return type, and an ssize_t vs. size_t muck-up.

--
Cheers,
  Jeremy

--
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to