On Ubuntu 24.04: build warnings for buffer read overflow are treated as errors on emulator. This may be ignored with CFLAGS="-Wno-error=stringop-overflow" but discarding packet if offset is greater than buffer size removes the warning. Could close GitHub issue #1049. Also I lost some time using mesh-cfgclient on a fresh Linux with no .config folder in home: mesh-cfgclient failed but did not explain the error, so printing a message could be welcome for others.