[Bug 291774] libusb_open reports all libusb20_dev_open errors as LIBUSB_ERROR_NO_MEM
Date: Thu, 18 Dec 2025 23:01:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291774 --- Comment #3 from unitrunker <unitrunker@unitrunker.net> --- Created attachment 266346 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266346&action=edit unit tests for review D54296 This covers four out of the five listed test cases. For NO_MEM, I'd like to use something like rctl or limits to constrain heap allocation so that libusb20_dev_open returns LIBUSB20_ERROR_NO_MEM (which this patch converts to LIBUSB_ERROR_NO_MEM). -- You are receiving this mail because: You are the assignee for the bug.