On Tue 05 May 15:48, ShengYi Hung wrote: > The branch main has been updated by aokblast: > > URL: > https://cgit.FreeBSD.org/src/commit/?id=ce9ced951a0b9d004a3b007d4ac6e9087a1301a2 > > commit ce9ced951a0b9d004a3b007d4ac6e9087a1301a2 > Author: ShengYi Hung <[email protected]> > AuthorDate: 2025-12-13 15:12:11 +0000 > Commit: ShengYi Hung <[email protected]> > CommitDate: 2026-05-05 15:48:22 +0000 > > libusb: change callback register handler to int > > libusb upstream uses int for register handler. This causes some library > user (like pyusb) to assume that we have int in all implementations and > therefore provides a 4 byte storage only. This causes Segmentation > fault as we will right the pointer. > > Reviewed by: adrian > Sponsored by: The FreeBSD Foundation > Differential Revision: https://reviews.freebsd.org/D54211
This breaks backward compatibility this is why I did: https://reviews.freebsd.org/D55686 https://reviews.freebsd.org/D55687 sorry I didn't catchup on it, and sorry I missed you version of the patch. we don't know if we don't have users relying on the previous ABI imho this should go via symbol versioning and then backward compat. Best regards, Bapt
