Date: Fri, 19 Oct 2012 08:10:37 GMT From: Alfred Bartsch <bartsch@dssgmbh.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/172871: freeipmi-1.1.7: segmentation fault ipmi-sensors Message-ID: <201210190810.q9J8AbaV064171@red.freebsd.org> Resent-Message-ID: <201210190820.q9J8K1Ux085948@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 172871 >Category: ports >Synopsis: freeipmi-1.1.7: segmentation fault ipmi-sensors >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 19 08:20:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Alfred Bartsch >Release: FreeBSD 8.3-stable >Organization: Data-Service GmbH >Environment: FreeBSD ds832pkg.incore 8.3-STABLE FreeBSD 8.3-STABLE #3: Fri Sep 14 12:30:52 CEST 2012 root@dsscons2.incore:/usr/obj/usr/src/sys/SERVER i386 >Description: the command ipmi-sensors fails with "segmentation fault", at least in i386 environment. >How-To-Repeat: install freeipmi-1.1.7 in an i386 environment. run ipmi-sensors >Fix: The following path solves this issue for me: --- ipmi-sensors/ipmi-sensors-argp.c.orig 2012-07-30 19:01:47.000000000 +0200 +++ ipmi-sensors/ipmi-sensors-argp.c 2012-10-18 17:28:28.000000000 +0200 @@ -353,7 +353,7 @@ '\0', sizeof (struct config_file_data_ipmi_sensors)); - if (config_file_parse (cmd_args->common.config_file, + if (cmd_args->common.config_file != NULL && config_file_parse (cmd_args->common.config_file, 0, &(cmd_args->common), &(cmd_args->sdr), A similar patch was included in port freeipmi version 1.0.7. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210190810.q9J8AbaV064171>