Hi,
Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.
2 new defect(s) introduced to LibreOffice found with Coverity Scan.
5 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by
Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)
** CID 1338058: Memory - illegal accesses (STRING_NULL)
/sal/qa/osl/pipe/osl_Pipe.cxx: 830 in osl_StreamPipe::Pipe_DataSource_Thread::run()()
________________________________________________________________________________________________________
*** CID 1338058: Memory - illegal accesses (STRING_NULL)
/sal/qa/osl/pipe/osl_Pipe.cxx: 830 in osl_StreamPipe::Pipe_DataSource_Thread::run()()
824
825 if ( nChars < 0)
826 {
827 printf("server receive failed! \n");
828 return;
829 }
CID 1338058: Memory - illegal accesses (STRING_NULL)
Passing unterminated string "this->buf" to "printf".
830 printf("received message is: %s\n", buf );
831 }
832 }
833 };
834
835 /** testing the method: read/write/send/recv and Pipe::accept
** CID 1338057: Memory - illegal accesses (STRING_NULL)
/sal/qa/osl/pipe/osl_Pipe.cxx: 767 in osl_StreamPipe::Pipe_DataSink_Thread::run()()
________________________________________________________________________________________________________
*** CID 1338057: Memory - illegal accesses (STRING_NULL)
/sal/qa/osl/pipe/osl_Pipe.cxx: 767 in osl_StreamPipe::Pipe_DataSink_Thread::run()()
761 sal_Int32 nChars = aSenderPipe.read( buf, m_pTestString1.getLength() +
1 );
762 if ( nChars < 0 )
763 {
764 printf("read failed! \n");
765 return;
766 }
CID 1338057: Memory - illegal accesses (STRING_NULL)
Passing unterminated string "this->buf" to "printf".
767 printf("buffer is %s \n", buf);
768 printf("send\n");
769 nChars = aSenderPipe.send( m_pTestString2.getStr(),
m_pTestString2.getLength() + 1 );
770 if ( nChars < 0 )
771 {
772 printf("client send failed! \n");
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://scan.coverity.com/projects/libreoffice?tab=overview
To manage Coverity Scan email notifications for "libreoffice@lists.freedesktop.org", click
https://scan.coverity.com/subscriptions/edit?email=libreoffice%40lists.freedesktop.org&token=d6481d718a775246b2340f282ebe5939
Context
- New Defects reported by Coverity Scan for LibreOffice · scan-admin
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.