From kde-bugs-dist Fri Jul 20 00:51:46 2007 From: aaronw () net ! com Date: Fri, 20 Jul 2007 00:51:46 +0000 To: kde-bugs-dist Subject: [Bug 140907] Compile error on Solaris 8 - Message-Id: <20070720005146.11184.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=118489271123556 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=140907 ------- Additional Comments From aaronw net com 2007-07-20 02:51 ------- There might be a memory leak using getline since the buffer is allocated on the heap. I don't see it getting freed anywhere unless somehow QString frees it. In looking at the getline code I also am not sure what the behavior is on different platforms when calling realloc with a pointer on the stack. I could see this possibly causing a crash since this behavior is not described in the Solaris man page.