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

List:       kde-bugs-dist
Subject:    [Bug 243234] ptrcheck doesnt handle sscanf properly
From:       Tom Hughes <tom () compton ! nu>
Date:       2010-06-30 9:15:25
Message-ID: 20100630091525.E616E47A65 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=243234


Tom Hughes <tom@compton.nu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tom@compton.nu




--- Comment #1 from Tom Hughes <tom compton nu>  2010-06-30 11:15:23 ---
This is probably because the sscanf implementation has a pointer that is being
jumped from argument to argument which means that it appears to move outside
the bounds of the object it is originally pointing at.

I've seen similar problems in other formatting functions of this type but it's
not clear there's any way to solve it other than adding a suppression - the
whole modus operandi of ptrcheck is to complain if a variable move outside the
object it points at.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

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