Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 564544

Summary: sys-devel/distcc: buffer overflow
Product: Gentoo Linux Reporter: Sergey 'L29Ah' Alirzaev <zl29ah>
Component: [OLD] DevelopmentAssignee: Michał Górny <mgorny>
Status: RESOLVED FIXED    
Severity: normal CC: alexander, cluster
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sergey 'L29Ah' Alirzaev 2015-10-31 08:45:18 UTC
distccd crashes after some status page loads
reproduce:
while :; do curl http://127.0.0.1:3633; done

result:
∞ distccd --allow 127.0.0.1 --no-detach --stats
distccd[7096] (dcc_should_be_inetd) stdin is a tty; assuming --daemon mode
*** buffer overflow detected ***: distccd terminated; report to <http://bugs.gentoo.org/>
zsh: abort      distccd --allow 127.0.0.1 --no-detach --stats
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-12-08 12:49:39 UTC
Does this still happen with 3.3.2?
Comment 2 Sergey 'L29Ah' Alirzaev 2018-12-08 13:31:48 UTC
(In reply to Michał Górny from comment #1)
> Does this still happen with 3.3.2?

Yeah.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-12-08 13:37:30 UTC
Could you report it upstream?
Comment 4 Sergey 'L29Ah' Alirzaev 2018-12-08 13:40:23 UTC
Somehow i thought Gentoo is the distcc upstream back then, okay: https://github.com/distcc/distcc/issues/321
Comment 5 Alexander Tsoy 2020-02-03 23:17:26 UTC
Should be fixed in 3.3.3:
https://github.com/distcc/distcc/commit/c4d6c62c7fdeb830521a4d51480333091f72bd03