mmsghdr: workaround -Warray-bounds regression in Red Hat gcc
The version of gcc packaged into Rawhide erroneously produces
the following false positive diagnostics:
mmsghdr.c: In function 'do_recvmmsg':
mmsghdr.c:87:23: error: array subscript 'struct mmsgvec_data[0]' is partly outside array bounds of 'unsigned char[4108]' [-Werror=array-bounds]
87 | data->timeout = xstrdup(timeout);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
Tested with:
$ gcc --version |head -1
gcc (GCC) 11.0.0
20201204 (Red Hat 11.0.0-0)
* mmsghdr.c (struct mmsgvec_data): Change namelen[IOV_MAX] to an array
of zero length.
Change-Id: I0bea08bef0937582fbdda9ba7009a7b34251dbd1
Bump to version 4.9
skip:
495c884... fixed linux ptrace
Change-Id: Ibfd95d1e352bcfaccb938abf92d9095015668743
Bug-Tizen: TC-2160
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>