[Debian-med-packaging] Bug#962974: t-coffee: fills RAM after reporting PID too high

Andreas Tille andreas at an3as.eu
Wed Jun 17 07:29:02 BST 2020


Hi Andrius,

On Wed, Jun 17, 2020 at 08:37:38AM +0300, merkys at debian.org wrote:
> Hello,
> 
> My suggestion would be to set MAX_N_PID to the value of
> /proc/sys/kernel/pid_max during the build of the package. Of course this
> solution assumes that machine used in buildd uses the same kernel as the
> users of the binary package, and I am not completely sure we can rely on
> this.

If I understood the issue correctle (and I'm not sure about this) may be
we could set this to the minimum value that is used in practice on these
days computers?  Not sure whether this might help here.

I had a qick grep for pid in the source code of t-coffee whether we
might be possibly able to fix the issue inside the code since it sounds
somehow suspicious that this kind of program should crash due to the
setting of MAX_N_PID.  But its quite frequently used and I need to
admit I do not want to understand all this code.

Kind regards

       Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list