tags 448139 upstream
thanks

Hi,

here is a bugreport from one of our Debian users. I've confirmed this
bug on cfengine version 2.2.2.


- Werner

Cyril Bouthors <[EMAIL PROTECTED]> writes:

> Package: cfengine2
> Version: 2.1.22-2
> Severity: critical
>
> cfagent crashes with a segmentation fault when 31+ arguments are
> supplied
>
> It can easily be reproduced with:
>
> $ cfagent -a -a -a -a -a -a -a -a -a -a -a -a -a -a -a -a -a -a -a -a -a -a 
> -a -a -a -a -a  -a -a -a -a
> Segmentation fault
> $
>
> The typical use case of 31+ arguments is with multiple -Dfoo
> arguments, like:
>
> $ cfagent --no-lock -x -H -Dmyfai_munin_node -Dmyfai_eth0 
> -Dmyfai_libnssdb_passwd -Dmyfai_libnssdb_shadow -Dmyfai_resolv_conf 
> -Dmyfai_etc_hosts -Dmyfai_lilo -Dmyfai_firewall_web -Dmyfai_apt_preferences 
> -Dmyfai_apt_list_changes -Dmyfai_apt_sources_list -Dmyfai_forward_root_emails 
> -Dmyfai_exim_smarthost -Dmyfai_cyb_dotfiles -Dmyfai_ssh_key_root 
> -Dmyfai_apt_cache_limit -Dmyfai_init_d_oshosting_nfs_mounts 
> -Dmyfai_init_d_oshosting_links -Dmyfai_init_d_oshosting_update_config_web 
> -Dmyfai_init_d_oshosting_update_nssdb_passwd 
> -Dmyfai_init_d_oshosting_update_nssdb_shadow -Dmyfai_nfsmount_sessions 
> -Dmyfai_nfsmount_myfai -Dmyfai_enable_rsyncd -Dmyfai_oshosting_nfs_mounts 
> -Dmyfai_web_suexec_romain -Dmyfai_web_oshosting_phpkill 
> -Dmyfai_bind9_forwarders -Dmyfai_static_route_to_mail_by_lbgw 
> -Dmyfai_static_route_to_ns_by_lbgw -Dmyfai_enable_spamd -Dmyfai_spamd_flock 
> -Dmyfai_spamd_disable_bayes -Dmyfai_spamd_enable_network 
> -Dmyfai_cron_d_myfai_ntp -f /usr/local/myfai/etc/cfengine/generic.conf
> Segmentation fault
> $
>
> I'm almost sure that this command used to be working on previous
> versions of cfengine.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to