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

List:       kdevelop-bugs
Subject:    [Bug 122771] New: Parser bug causes infinite loop and memory leak
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2006-02-27 1:32:00
Message-ID: 20060227023159.122771.mswilliamson () uwaterloo ! ca
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=122771         
           Summary: Parser bug causes infinite loop and memory leak
           Product: kdevelop
           Version: 3.3.0
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: mswilliamson uwaterloo ca


Version:           3.3.0 (using KDE KDE 3.5.1)
Installed from:    Gentoo Packages
Compiler:          GCC 3.4.4 
OS:                Linux

Adding the following file to KDevelop causes an infinite loop/memory leak:


#define ACCESSOR(type,name,datamem) inline const type& name() const { return m_data.datamem; } \
                                 inline void name(const type& val) { m_data.datamem = val; }

class test
{
  int a;
  int b;
  int c;
  int d;
  
  ACCESSOR( int, a, ;
  ACCESSOR( int, b, ;
  ACCESSOR( int, c, ;
  ACCESSOR( int, d, ;
};


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

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