head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.24 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.22 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.20 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.18 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.16 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.14 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.12 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.10 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.8 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.6 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.4 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.2 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.1.0.92 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.90 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.88 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.86 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.84 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.82 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.80 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.78 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.76 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.74 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.72 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.68 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.48 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.70 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.66 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.64 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.62 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.60 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.58 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.56 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.54 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.52 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.50 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.46 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.44 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.42 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.40 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.38 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.36 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.34 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.32 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.30 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.28 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.26 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.24 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.22 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.20 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.18 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.16 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.14 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.12 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.10 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.8 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.6 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.4 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.2 pkgsrc-2011Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2023.05.18.08.43.20; author spz; state Exp; branches; next 1.1; commitid xg7RsZasEBgMeqpE; 1.1 date 2011.12.22.19.00.05; author drochner; state Exp; branches; next ; desc @@ 1.2 log @update ipmitool to version 1.8.19 fixes CVE-2020-5208 upstream changelog: version 1.8.19 2022-08-31 * Cast type before the left shift * sel: Fix the deasserted thresholds inequality * man: Update the text for -C option * chassis restart_cause: Add new causes * sel: Remove redundant "Reserve SEL" * zero initialize the recv structure on the stack * zero initialize the recv structure on the stack * ci: Add support for MacOS-11 * ci: Remove ubuntu-16.04 support * sdr: Fix modifier unit * Fix compile error * Refactor bridging level detection to dedicated function * Fix double bridge detection in get_max_(req|rsp)_data_size() * ipmi_mc: Fix the IPM_DEV_FWREV1_MAJOR_MASK * helper: Fix stderr file descriptor * Fix codefactor-io / CodeFactor warnings * Use /run instead of /var/run * oem: Update product IDs for YADRO * lan: Add processing of get/set specific CCs * lan: Refactor pointer style * doc: update lanplus doc to reflect default cipher suite change * ekanalyzer: Fix internal use area off-by-one bug * ekanalyzer frushow: Fix internal area size calc * sel: Fix "power supply inactive" flag offset * ci: Add support for Ubuntu 20.04 * ci: Fix Ubuntu builds * Fix compiler warning * Fix compiler warning * Fix compiler warning * ci: Update for GitHub Actions v2.274.2 * free: Fix implicit function declarations * Use "#pragma once" for headers * Remove unneeded execution bits from C source files and a header file * Convert line endings to LF * Fixed compiler warning. * RPM support: fixed broken build due to use of headers from kernel * imbapi: replace __FUNCTION__ to eleminate compiler warnings * lanplus: remove unused variable * hpmfwupg: Clean up / refactor * fru: Fix crashes on 6-bit ASCII strings * oem: Add product ID for YADRO VEGMAN * configure.ac: add '--location' for curl to follow location * configure.ac: replace '-#' by '--progress-bar' with curl * Add version info to debug output * doc, ci: Fix an error in package name for Windows * doc: Fix a small typo in INSTALL * RPM support: updated spec file changelog * RPM support: simplified build process * RPM support: fixed broken RPM build * doc: Update INSTALL with Windows info * ci: Add Windows/cygwin config * doc: Update INSTALL for new CI * ci: Add github workflow, drop travis * Fix compatibility with OpenBSD and macOS * dist: Fix dependencies and cleanup * dist: Add missing ipmi_time.h header to packaging * configure: Fix compatibility with non-bash systems * Finalize refactoring of string comparisons * channel: Refactor set_user_access option processing * Refactor string comparisons * sel: Fix OEM record definition example * sdr: harden against bad records * fru: fix memory leak in ipmi_spd_print_fru * ipmi_sel_set_time: fix strptime() return check * hpm: use portable __max() in hpmfwupg * hpmfwupg: move variable definition to .c file * sel: time: fix null pointer dereference in set * fru, sdr: Fix id_string buffer overflows * lanp: Fix buffer overflows in get_lan_param_select * channel: Fix buffer overflow * session: Fix buffer overflow in ipmi_get_session_info * fru: Fix buffer overflow in ipmi_spd_print_fru * fru: Fix buffer overflow vulnerabilities * configure: Drop requirement for curses et. al libs * configure: remove some duplicate code * doc: Update INSTALL to fix installation errors * ipmi_dcmi: fix typo in nm_policy_options initialization. * Docs: Add info on packages to install on Ubuntu 16.04 * chassis: Refactor to get rid of strncmp() * chassis: Refactor main for centralized exiting * chassis: bootdev: Refactor more * chassis: bootdev: Refactor to reduce nesting * chassis: bootdev: Fix help message and its formatting * chassis: bootparam/bootdev: Refactor for less magic * oem: supermicro: Add product codes from IPMICFG * doc: Update man page regarding `user set password` * user: Cleanup/refactor ipmi_user_password() * user: Improve password length handling * user: Alter "set password" usage information * intf: Add missing function declarations * doc: fix URL in README * event: Clean up event sending from a file * event: Clean up the event sending code * event: Fix event submission via SSIF * make: Use DESTDIR to install IANA PEN database * lanplus: Fix embedded bridged responses handling * Update .gitignore * mc: Fix reporting of manufacturers > 64K * Add installation of enterprise-numbers database * Update documentation in regard to IANA PEN registry * Use configurable path to IANA PEN registry * Load IANA PEN registry from a file * dbus: Replace obsolete INCLUDES with AM_CPPFLAGS * oem: name change from Newisys to Viking Enterprise Solutions * Fix default interface to behave as it did before * man: Add documentation for chassis bootmbox * man: Update the chassis bootparam section * chassis: Add boot initiator mailbox support * chassis: Use command-specific completion code parser * Add support for command-specific completion codes * Add a helper htoipmi24() function * Add a helper args2buf() function * man: Cleanup the manpage formatting tags * create_pen_list: only print if values are set * chassis: Refactor to reduce code duplication * sdr: Fix segfault on invalid unit types * vendor: Add YADRO TATLIN Storage Controller ID * exchange-bmc-os-info: Remove dependency on ipmi.service * Add mechanism to configure to set the default interface * ci: Update INSTALL to reflect recent changes * ci: Set up matrix builds with Travis CI * Enable Travis build of D-Bus interface * add OpenBMC D-Bus interface * Fix "ipmitool pef {status,info}" not printing final newline * Remove unused include * Fix IPMI DCMI message typo * open: swap free() calls for free_n() * open: checking received msg id against expectation * open: fix whitespace * Refactor free_n() function * fru: swap free() calls for free_n() * fru: Fix write chunk reduction code * fru: add macro FRU_AREA macros * fru: replace magic return codes with macros * fru header: add return error codes specific to fru * fru: fix ipmi_fru_picmg_ext_edit as bool * fru: use bool with ipmi_fru_oemkontron_edit * fru: change ipmi_fru_query_new_value to return bool * fru: mark ipmi_fru_query_new_value as static * fru: add fru_cc_rq2big helper method for code checks * fru: cleanup ipmi_fru_upg_ekeying * fru: use ipmi_cc defined maros for return codes * fru: drop extraneous parentheses on negative returns * fru: delete unused variable matchInstance * fru: cleanup ipmi_fru_oemkontron_get * fru: fixup array bounds checking * hpm: Adhere to centralized exiting * hpm: Minor refactoring * hpm: Fix resource leak * sol: Make interface timeout obey the -N option * helper: add free_n method to handle clearing pointers * cygwin: imb: Fix build error (wchar_t) * lanplus: Fix segfault for truncated dcmi response * Move led color static array to source file * drop unused static arrays * move static objects to source file * cleanup all unused-parameter warnings * use __UNUSED__ macro instead of gcc specific attribute * implement __UNUSED__ macro for marking unused * Add .dirstamp to .gitignore * fru: Fix processing of unspecified board mfg. date * [compiler-warnings-fixes] use correct fall through comment * [compiler-warnings-fixes] ipmi_start_daemon: check return values * [compiler-warnings-fixes] ipmi_sdr.c: remove unused function parameters * lan: Fix processing disabled VLAN * Make ipmitool respect system locale settings * Fix strftime() non-literal argument warning * Refactor timestamp handling * doc: Update manpage with new contact info * lanplus: Refactoring * lanplus: Fix -C option processing * lanplus: Auto-select 'best' cipher suite available * lanplus: Fix compile with deprecated APIs disabled. * doc: Update home page links * doc: Update formatting of ipmitool man page * sensor: Refactor ipmi_sensor_print_fc_threshold() * sensor: Add support for csv output * plugins: open: Properly enable event receiver (#35) * lan: Refactoring: Remove unused function * general: Get rid of some unused parameter warnings * mc: guid: Implement encoding autodetection * mc: guid: Fix timestamp decoding * mc: guid: Add support for non-standard encodings * mc: guid: Fix byte ordering to follow IPMI spec * Refactoring: optimize pointer checks * imb: Refactoring: remove duplicate code * Refactoring: get rid of superfluous comparisons * Refactoring. Improve code reuse ratio. * general: Fix several misspellings * mc: Fix compiler warnings * general: Add array_byteswap() to helper * lanplus: Make byteswapping generic * framework: Update .gitignore * framework: Switch to C11 standard with GNU extensions * framework: ci: Add support for Travis CI * oem: Add basic support for Quanta * intf: Refactoring. Remove unused sendrsp() * dummy: Add default dummy socket * mc: Fix manufacturer ID masking * Refactoring. Remove useless feature test macros. * general: Make byteswapping arch-independent * sel: Minor refactoring * sdr: Refactor/optimize code. No functional changes. * Add an option to display all dates in UTC * mc: Code refactor to reduce copy-paste ratio * mc: watchdog set: Refactor to reduce complexity * mc: watchdog set: Fix intr setting * mc: watchdog get: Update to match IPMI 2.0 spec * mc: watchdog: Add `set` command * framework: Make git ignore cscope.out * plugins/open: Fix for interrupted select * nm: Fix policy range (#12) * Replace user_id masks with a macro (#8) * fru: internaluse: Fix segmentation fault (#9) * dcmi: Refactor * ID:508 - Fix segfaults in dcmi command handlers * vendor: Add YADRO VESNIN identification * ID:491 - Fetch vendor IDs from IANA * ID:472 - Fix The Most recent Addition/Erase date * ID:480 - Call EVP_CIPHER_CTX_free() instead of EVP_CIPHER_CTX_cleanup() * ID:480 - ipmitool coredumps in EVP_CIPHER_CTX_init * Make git revision more descriptive * ID:477 - fru: Fix decoding of non-text data in get_fru_area_str() * ID:479 - ekanalyzer: fix processing of custom mfg. fields * ID:478 - ekanalyzer: Fixed decoding of FRU fields * Add some more configure/build/editor byproducts to .gitignore * Add git hash and dirty mark to ipmitool version * Prevent autoreconf from complaining about missing NEWS * Add bootstrap support for Mac * ID:474 - Compile fix on nonlinux systems * ID:461 - Make compiler happier about changes related to OpenSSL 1.1 * ID:461 - OpenSSL 1.1 compatibility - "error: storage size of 'ctx' isn't known" @ text @$NetBSD: patch-ae,v 1.1 2011/12/22 19:00:05 drochner Exp $ CVE-2011-4339 --- lib/helper.c.orig 2022-09-01 18:42:31.000000000 +0000 +++ lib/helper.c @@@@ -917,7 +917,6 @@@@ ipmi_start_daemon(struct ipmi_intf *intf lprintf(LOG_ERR, "chdir failed: %s (%d)", strerror(errno), errno); exit(1); } - umask(0); for (fd=0; fd<64; fd++) { if (fd != intf->fd) @ 1.1 log @fix world-writable pidfile creation (CVE-2011-4339), bump PKGREV @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- lib/helper.c.orig 2009-02-25 20:38:52.000000000 +0000 d7 4 a10 4 @@@@ -427,7 +427,6 @@@@ ipmi_start_daemon(struct ipmi_intf *intf #endif chdir("/"); @