View Issue Details

IDProjectCategoryView StatusLast Update
0000133fileGeneralpublic2020-02-12 22:18
Reportereschwartz Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.38 
Fixed in Version5.39 
Summary0000133: file 5.38 removed support for detecting pie executable
DescriptionWhat is the purpose of commit https://github.com/file/file/commit/d653309de04ed10fdeda79f2c6ca7a7e96e122f1?
Tagsmagic

Activities

eschwartz

2020-01-24 20:39

reporter   ~0003348

It was pointed out in this downstream bug report ( https://bugs.archlinux.org/task/65256 ) that the intention may be to unify pie-executable and shared libraries.

"the unification makes sense as +x is not a appropriate way to detect if its a shared library or an application, which way around it should be is a matter of choice but technically PIE executables are not any different, except some subtile ways in relative references."

I did not read this into the commit message which was used to describe the change, so forgive me if I've misunderstood the situation. But if there was any intent to heuristically detect pie executables vs. shared libraries, then at the moment it does not seem to be happening in actuality.a

christos

2020-02-12 22:18

manager   ~0003351

You are right, I put it back.

Issue History

Date Modified Username Field Change
2020-01-24 15:36 eschwartz New Issue
2020-01-24 15:36 eschwartz Tag Attached: magic
2020-01-24 20:39 eschwartz Note Added: 0003348
2020-02-12 22:17 christos Assigned To => christos
2020-02-12 22:17 christos Status new => assigned
2020-02-12 22:18 christos Status assigned => resolved
2020-02-12 22:18 christos Resolution open => fixed
2020-02-12 22:18 christos Fixed in Version => 5.39
2020-02-12 22:18 christos Note Added: 0003351