~ubuntu-branches/ubuntu/trusty/kopete/trusty

« back to all changes in this revision

Viewing changes to protocols/groupwise/libgroupwise/inputprotocolbase.cpp

  • Committer: Package Import Robot
  • Author(s): Rohan Garg
  • Date: 2013-11-23 17:46:40 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20131123174640-gz1zjv1xqh81bi2h
Tags: 4:4.11.80-0ubuntu1
* New upstream beta release
* Bump build dependency to libotr5-dev
* Update symbols
* Update install files
* Drop new_linphone.diff, not required anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
                // so look for that in the last position instead of \0
99
99
                // this caused a crash - guessing that temp.length() is set to the number of bytes actually read...
100
100
                // if ( (quint8)( * ( temp.data() + ( temp.length() - 1 ) ) ) == 0xFF )
101
 
                if ( temp.length() < ( val - 1 ) )
 
101
                if ( (quint32)temp.length() < ( val - 1 ) )
102
102
                {
103
103
                        debug( QString( "InputProtocol::safeReadBytes() - string broke, giving up, only got: %1 bytes out of %2" ).arg( temp.length() ).arg( val ) );
104
104
                        m_state = NeedMore;