On Fri, 24 Jul 1998, dave wrote:

> >char sys_string[1024];
> >...
> >bzero(sys_string,1024);
> >strcpy(sys_string,"slider 10 | fit_it -f ");
> >strcat(sys_string,fileName);
> >strcat(sys_string," -xmgr | xmgr-dynamic -source stdin&");
> >system(sys_string);
> >...
> 
> 
> Warning: a programming moron is about to speak:-
> 
> Wouldn't the fact that you building your string in a static buffer cause
> security probs?
> ie writing beyond the end.....of 1024,

yes yes.. i know it ...
this is whay I have say "this is some a limit"...

> char sys_string[1024];
> 
> would be allocated on the stack anyway....

i dunno

ciaoz
--
Morelli 'ZioBudda' Davide Michel - Member of Pluto Linux User Group
[EMAIL PROTECTED] - http://www.dau.ing.univaq.it/~ziobudda/
Linux Problem? Ask to [EMAIL PROTECTED]
"/dev/ziobudda: access to /var/tmp/beer denied, use /var/adm/pineapple"

Reply via email to