[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Potential issue in kshareddatacache.cpp checkin revision 1193778
From:       Vishal Rao <vishalrao () gmail ! com>
Date:       2010-12-03 5:19:06
Message-ID: AANLkTimP=cTOkD6MN5nbvQbMJTNOwdiyzbU1dFjejsCj () mail ! gmail ! com
[Download RAW message or body]

Hello,

Sorry if this is spam/silly.

I happened to notice this while browsing the 4.5.4 release announcement pages:

unsigned KSharedDataCache::totalSize() const

has added:

if (lock.failed()) {
  return false;
}

Returning bool false for return type unsigned - is this a potential
problem or do you check for MAX_UINT or whatever?

Regards,
Vishal

-- 
"Thou shalt not follow the null pointer for at its end madness and chaos lie."
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic