lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev buffer overflow?


From: T.E.Dickey
Subject: Re: lynx-dev buffer overflow?
Date: Fri, 31 Jul 1998 05:28:00 -0400 (EDT)

> I'm not sure which would be a more correct fix: 
> * Modify the call to LYgetstr to use  
>   (sizeof(putenv_command)-(strlen(DISPLAY)+2)) instead of 
>   sizeof(display_option)  (+2 for both \0 and =) 
>  
> * Modify sprintf() to use %130s instead of %s 
>  
> Comments? 
sounds fine - I'm almost done with dev.19, will collect feedback & fixes
for dev.20
  
>        Mike Castle       Life is like a clock:  You can work constantly 

-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]