[w3m-dev 04341] Re: Proxy 認証について

SAKAI Kiyotaka <[email protected]> Thu, 29 Jul 2010 09:55:55 +0900 (JST)
Newsgroups gmane.comp.web.w3m.devel
Message-ID <[email protected]>
>> In article <[email protected]>, Hiroyuki Ito <[email protected]> writes:

> passwd_file  proxy  proxy 
>  (cf. [w3m-dev 03318]) proxy 
>  passwd_file 

passwd_file 


>  patch 

>  passwd_file 
>  -pauth 
> 

passwd_file  Segmentation fault 
gdb 


Program received signal SIGSEGV, Segmentation fault.
0xff031d18 in strlen () from /lib/libc.so.1
(gdb) where
#0  0xff031d18 in strlen () from /lib/libc.so.1
#1  0x0007c374 in Strnew_charp (p=0x1 <Address 0x1 out of bounds>) at Str.c:67
#2  0x0004a4b8 in add_auth_user_passwd (pu=0xffbff7c0,
    realm=0x1c15c8 "test", uname=0x1c4240, pwd=0x1c40f0, is_proxy=1)
    at etc.c:1008
#3  0x00040bb0 in loadGeneralFile (path=0xffbffa61 "http://www.google.co.jp/",
    current=0x0, referer=0xffffffff <Address 0xffffffff out of bounds>,
    flag=0, request=0x0) at file.c:1927
#4  0x00029dac in main (argc=<value optimized out>,
    argv=<value optimized out>, envp=<value optimized out>) at main.c:951
(gdb) up
#1  0x0007c374 in Strnew_charp (p=0x1 <Address 0x1 out of bounds>) at Str.c:67
67          n = strlen(p) + 1;
(gdb) up
#2  0x0004a4b8 in add_auth_user_passwd (pu=0xffbff7c0,
    realm=0x1c15c8 "test", uname=0x1c4240, pwd=0x1c40f0, is_proxy=1)
    at etc.c:1008
1008        ent.host = Strnew_charp(pu->host);
(gdb) print pu
$4 = (ParsedURL *) 0xffbff7c0
(gdb) print *pu
$5 = {scheme = 1413448, user = 0x100 <Address 0x100 out of bounds>,
  pass = 0x0, host = 0x1 <Address 0x1 out of bounds>, port = 1852320,
  file = 0x1c40f0 "", real_file = 0x1c4240 "",
  query = 0x68d6c "\235\220\003", label = 0x1 <Address 0x1 out of bounds>,
  is_nocache = 0}


-- 
NTT
 NI
 
141-0001 5-9-11 MT5F
TEL:03-6384-0288, FAX:03-6408-4083, E-Mail:[email protected]