Package: makedepf90
Version: 2.8.8-1
Severity: important

Dear Maintainer,
The program 'makedepf90' from Debian package in subject fails when a hard-coded 
limit in the length of the '-r' argument is passed, i.e.:

$ makedepf90 -r "mpif90.openmpi -fcheck=all -Wall -fbacktrace -fbounds-check 
-fcheck=array-temps  -Wconversion-extra  -pedantic-errors 
-ffpe-trap=zero,overflow,underflow -Werror  -Wno-error=unused-function -O0  -g  
-pg  -cpp  -ffree-form -ffree-line-length-none   -DUSE_MPI  -llapack -c %f.f90" 
*f90 > obj_dependencies.makefile

with error message:
*** Error in `makedepf90': free(): invalid next size (normal): 
0x00000000015f13d0 ***
Aborted

If the argument is shortened, things work out as they should:
makedepf90 -r "gfortran -fcheck=all -Wall -fbacktrace -fbounds-check 
-fcheck=array-temps  -Wconversion-extra -pedantic-errors -Werror 
-Wno-error=unused-function -O0 -g -pg -cpp -ffree-form -ffree-line-length-none 
-llapack -c %f.f90" *f90 > obj_dependencies.makefile

Please consider reporting upstream, or patching the provided program to extend 
its arguments' buffer size / fail gracefully with a report about maximal number 
of characters allowed.

Many thanks,
--
Alberto.

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages makedepf90 depends on:
ii  libc6  2.19-18+deb8u1

makedepf90 recommends no packages.

makedepf90 suggests no packages.

-- no debconf information

Reply via email to