Control: found 906727 1:5.35-4+deb10u1
Control: fixed 906727 1:5.37-1

WHR wrote...

> I found the file(1) tool on Debian buster would erroneously detect ELF shared 
> libraries as 'pie executable'; for example:
> 
> ~/src$ cat sample.c 
> #include <stdio.h>
> 
> void func1(int a) {
>       fprintf(stderr, "function: func1(%d)\n", a);
> }
> ~/src$ gcc -Wall -O1 --shared sample.c -o libsample.so
> ~/src$ file libsample.so 
> libsample.so: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), 
> dynamically linked, BuildID[sha1]=56c53c1ca858c31c2d58bf9ee80e3eb9ff4ac36d, 
> not stripped

That was introduced in upstream commit
    FILE5_32-87-g6876ebad
and later fixed in
    FILE5_35-45-g03084b16

So, only the buster version is affected. I've queued this up for a
stable point release but am somewhat concerned about side effects, there
have been issues with the ELF detection in the past.

    Christoph


Attachment: signature.asc
Description: PGP signature

Reply via email to