sd/source/ui/remotecontrol/BufferedStreamSocket.cxx | 3 +++ vcl/qa/cppunit/graphicfilter/data/png/pass/invalid-chunk.png |binary 2 files changed, 3 insertions(+)
New commits: commit ad65fea9c28542dcb986b693ec743b2ec668f0fd Author: Michael Meeks <michael.me...@suse.com> Date: Thu Mar 21 19:44:08 2013 +0000 fdo#61847 - add test file of png image with invalid final chunk length. Change-Id: Ie031f3442abcce053ed5f0a5cf74993219485029 diff --git a/vcl/qa/cppunit/graphicfilter/data/png/pass/invalid-chunk.png b/vcl/qa/cppunit/graphicfilter/data/png/pass/invalid-chunk.png new file mode 100644 index 0000000..1c45c76 Binary files /dev/null and b/vcl/qa/cppunit/graphicfilter/data/png/pass/invalid-chunk.png differ commit c8fcfb3c87a7aa857bd98209718b2fde99c901c2 Author: Michael Meeks <michael.me...@suse.com> Date: Thu Mar 21 19:10:40 2013 +0000 sdremote: add more verbose protocol debug. Change-Id: I1b189824f2b0bb2cf4568378e7ab3efd5a677141 diff --git a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx index c1e0287..4b4c1ce 100644 --- a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx +++ b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx @@ -90,6 +90,8 @@ sal_Int32 BufferedStreamSocket::readLine( OString& aLine ) aBuffer.erase( aBuffer.begin(), aIt + 1 ); // Also delete the empty line aRead -= (aLocation + 1); + SAL_INFO( "sdremote.bluetooth", "recv line '" << aLine << "'" ); + return aLine.getLength() + 1; } @@ -100,6 +102,7 @@ sal_Int32 BufferedStreamSocket::readLine( OString& aLine ) else aRet = ::recv( mSocket, &aBuffer[aRead], 100, 0 ); + SAL_INFO( "sdremote.bluetooth", "recv " << aRet << " aBuffer len " << aBuffer.size() ); if ( aRet <= 0 ) { return 0; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits