4 ms·
>but a better design would use metadata associated with the input to determine its format rather than guessing. how would that have prevented this incident? if
by gruez 8y ago
>but a better design would use metadata associated with the input to determine its format rather than guessing.
how would that have prevented this incident? if the metadata is stored in the filesystem (as opposed to the file contents), chances are, the updater is going to blindly mark whatever it downloaded as "an executable". if it's part of the file contents, it's essentially the same as magic bytes.