/lo/home/tdf/lode/jenkins/workspace/lo_tb_random_config_linux/sal/osl/unx/pipe.cxx: In function
‘oslPipeImpl* osl_psz_createPipe(const sal_Char*, oslPipeOptions, oslSecurity)’:
/lo/home/tdf/lode/jenkins/workspace/lo_tb_random_config_linux/sal/osl/unx/pipe.cxx:248:12: error:
‘char* strncpy(char*, const char*, size_t)’ output may be truncated copying 107 bytes from a string
of length 4096 [-Werror=stringop-truncation]
strncpy(addr.sun_path, name, sizeof(addr.sun_path) - 1);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/lo/home/tdf/lode/jenkins/workspace/lo_tb_random_config_linux/sal/osl/unx/pipe.cxx:288:16: error:
‘char* strncpy(char*, const char*, size_t)’ output may be truncated copying 4096 bytes from a
string of length 4096 [-Werror=stringop-truncation]
strncpy(pPipe->m_Name, name, sizeof(pPipe->m_Name) - 1);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/lo/home/tdf/lode/jenkins/workspace/lo_tb_random_config_linux/sal/osl/unx/pipe.cxx: In function
‘void osl_closePipe(oslPipe)’:
/lo/home/tdf/lode/jenkins/workspace/lo_tb_random_config_linux/sal/osl/unx/pipe.cxx:376:16: error:
‘char* strncpy(char*, const char*, size_t)’ output may be truncated copying 107 bytes from a string
of length 4096 [-Werror=stringop-truncation]
strncpy(addr.sun_path, pPipe->m_Name, sizeof(addr.sun_path) - 1);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.