linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.28k stars 1k forks source link

Increase Errormsg size. #939

Closed Rtoax closed 2 years ago

Rtoax commented 2 years ago
tlibio.c:1442:40: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 486 [-Wformat-overflow=]
 1442 |                                 "%s/%d %s failed, fd:%d, nbyte:%d errno=%d %s",
      |                                        ^~
 1443 |                                 __FILE__, __LINE__, Lio_SysCall, fd, size,
      |                                                     ~~~~~~~~~~~
metan-ucw commented 2 years ago

Patch looks good, but the Signed-off-by part is missing, see: https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin

Rtoax commented 2 years ago

Patch looks good, but the Signed-off-by part is missing, see: https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin

Hi, Fixed