umdns: fails to compile with gcc10

Nick vincent at
Mon Jul 13 06:45:21 EDT 2020

If u try to compile umdns with gcc10 it will fail with:

> service.c:240:10: error: 'strcpy' offset 6 from the object at 'b' is
> out of the bounds of referenced subobject 'name' with type 'uint8_t[]'
> {aka 'unsigned char[]'} at offset 6 [-Werror=array-bounds]
More detailed error:


More information about the openwrt-devel mailing list