[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1016885: obs-studio: IPv6 bind address handling totally broken



Package: obs-studio
Version: 26.1.2+dfsg1-2
Severity: wishlist

Due to a bug in upstream all IPv6 address handling is broken. The specific problem is incorrect setting of sin_addr for calls to inet_ntop()/inet_pton() resulting in broken string representation of IPv6 addresses, which percolates up into the user interface.

OBS tries to figure out the correct IPv6 source address to bind to, but when setting the BindIP with the corrupted string, causes bind() to fail with "address does not exist" GUI message and:

info: [rtmp stream: 'adv_stream'] Binding to IPv6

info: RTMP_Connect0, failed to bind socket: unknown error (99)

The fix is in upstream as commit #fb7a037bc "obs-outputs: Fix binding to IPv6 addresses on *nix".

I've added this patch on top of the current Debian version and confirmed it fixes the bug.


Reply to: