kern/117010: [linuxolator] linux_getdents() get something like buffer overflow or else

sam samflanker at gmail.com
Wed Mar 19 11:40:05 UTC 2008


The following reply was made to PR kern/117010; it has been noted by GNATS.

From: sam <samflanker at gmail.com>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: kern/117010: [linuxolator] linux_getdents() get something like
 buffer overflow or else
Date: Wed, 19 Mar 2008 14:09:52 +0300

 kdump of starting HLDS on system FreeBSD 7.0-STABLE with development 
 version linux_base-f8 (include glibc-2.7-2)
 NOTE: HLDS is started without problem
 linux_base-f8 be absent in ports tree now
 
 --------------------------------------------------------------------------
  99717 hlds_i686 NAMI  
 "/compat/linux/usr/home/games/hlds/./cstrike/sound/weapons/reload1.wav"
  99717 hlds_i686 NAMI  
 "/usr/home/games/hlds/./cstrike/sound/weapons/reload1.wav"
  99717 hlds_i686 RET   linux_stat64 JUSTRETURN
  99717 hlds_i686 CALL  linux_open(-1078014336,624640,-1078014440)
  99717 hlds_i686 NAMI  
 "/compat/linux/usr/home/games/hlds/./cstrike/sound/weapons"
  99717 hlds_i686 NAMI  "/usr/home/games/hlds/./cstrike/sound/weapons"
  99717 hlds_i686 RET   linux_open 9
  99717 hlds_i686 CALL  linux_fstat64(9,-1078014548,1210134516)
  99717 hlds_i686 RET   linux_fstat64 0
  99717 hlds_i686 CALL  linux_fcntl64(9,2,1)
  99717 hlds_i686 RET   linux_fcntl64 0
  99717 hlds_i686 CALL  linux_getdents(9,148523424,4096)
  99717 hlds_i686 RET   linux_getdents 4096/0x1000
  99717 hlds_i686 CALL  linux_getdents(9,148523424,4096)
  99717 hlds_i686 RET   linux_getdents 444/0x1bc
  99717 hlds_i686 CALL  linux_getdents(9,148523424,4096)
  99717 hlds_i686 RET   linux_getdents 0
  99717 hlds_i686 CALL  close(9)
  99717 hlds_i686 RET   close 0
  99717 hlds_i686 CALL  linux_stat64(-1078014148,-1078014404,1210134516)
  99717 hlds_i686 NAMI  
 "/compat/linux/usr/home/games/hlds/./valve/sound/weapons/reload1.wav"
  99717 hlds_i686 NAMI  
 "/usr/home/games/hlds/./valve/sound/weapons/reload1.wav"
  99717 hlds_i686 RET   linux_stat64 JUSTRETURN
  99717 hlds_i686 CALL  linux_open(-1078014336,624640,-1078014440)
  99717 hlds_i686 NAMI  
 "/compat/linux/usr/home/games/hlds/./valve/sound/weapons"
  99717 hlds_i686 NAMI  "/usr/home/games/hlds/./valve/sound/weapons"
  99717 hlds_i686 RET   linux_open 9
  99717 hlds_i686 CALL  linux_fstat64(9,-1078014548,1210134516)
  99717 hlds_i686 RET   linux_fstat64 0
  99717 hlds_i686 CALL  linux_fcntl64(9,2,1)
  99717 hlds_i686 RET   linux_fcntl64 0
  99717 hlds_i686 CALL  linux_getdents(9,148523424,4096)
  99717 hlds_i686 RET   linux_getdents 28/0x1c
  99717 hlds_i686 CALL  linux_getdents(9,148523424,4096)
  99717 hlds_i686 RET   linux_getdents 0
  99717 hlds_i686 CALL  close(9)
  99717 hlds_i686 RET   close 0
  99717 hlds_i686 CALL  linux_stat64(-1078014148,-1078014404,1210134516)
  99717 hlds_i686 NAMI  
 "/compat/linux/usr/home/games/hlds/./platform/sound/weapons/reload1.wav"
  99717 hlds_i686 NAMI  
 "/usr/home/games/hlds/./platform/sound/weapons/reload1.wav"
  99717 hlds_i686 RET   linux_stat64 JUSTRETURN
 --------------------------------------------------------------------------
 
 On Thu, 13 Sep 2007 16:39:49 +0400 Boris Samorodov wrote:
 
 >/ Just to note once more, that is for CURRENT and
 />/ linux_base-fc6/2.6.16:
 /
 >/ > Here is the relevant kdump:
 />/ > ftp://ftp.ipt.ru/pub/linux/hldc.kdump.txt
 /
 
 HLDS is crashed on start
 NOTE: linux_base-fc6 include  glibc-2.5-18
 
 /Vladimir Ermakov


More information about the freebsd-emulation mailing list