Subject: CVS commit: pkgsrc/sysutils
From: matthew green
Date: 2022-04-18 21:49:18
Message id: 20220418194918.9DC55FB19@cvs.NetBSD.org

Log Message:
fix a ups-nut-usb crash.  from the patch file:

  As comm_driver->get_interrupt() can return larger than the buffer size,
  limit the future accesses by this amount.  Bump the size of the buffer
  here as returns as high as 3500 have been seen.

bump ups-nut-usb revision.

with this, i am able to monitor a recent CyberPower UPS.

Files:
RevisionActionfile
1.37modifypkgsrc/sysutils/ups-nut/distinfo
1.13modifypkgsrc/sysutils/ups-nut-usb/Makefile
1.1addpkgsrc/sysutils/ups-nut/patches/patch-drivers_libhid.c