Re: trinity: lots of free(): invalid pointer

Dave Jones <[email protected]>
Newsgroups org.kernel.vger.trinity
Message-ID <[email protected]>
On Mon, Jan 20, 2014 at 08:51:10PM +0100, Jiri Slaby wrote:
 
 > (gdb) l * 0x410fa4
 > 0x410fa4 is in post_modify_ldt (syscalls/modify_ldt.c:62).
 > 57
 > 58              ptr = (void *) shm->scratch[childno];
 > 59
 > 60              if (ptr != NULL)
 > 61                      free(ptr);
 > 62      }
 > 63
 > 64      struct syscallentry syscall_modify_ldt = {
 > 65              .name = "modify_ldt",
 > 66              .num_args = 3,
 > 

That syscall should probably be marked as AVOID for now, as it's pretty easy
to completely screw up the LDT and segv. We'll need to be a bit more
creative to make it actually find bugs.
 
	Dave
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.