You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is another obscure one:
There was an instance where a student back-ticked their style name:
Exercise3-`Semibold`
As a result, I noticed that makeotf seems to execute code in the style name while trying to compile the font:
makeotf [Note] Using features file at './features.fea'.
/bin/sh: Semibold: command not found
makeotfexe [WARNING] not in FontMenuNameDB [Exercise3-`Semibold`]
makeotfexe [FATAL] <Exercise3-`Semibold`> I can't find a Family name for this font !
makeotf [Error] Failed to build output font file 'Exercise3-`Semibold`.otf'.
I was curious what would happen if I set the style name of an UFO to a real bash command, and indeed it works:
This is another obscure one:
There was an instance where a student back-ticked their style name:
As a result, I noticed that
makeotf
seems to execute code in the style name while trying to compile the font:I was curious what would happen if I set the style name of an UFO to a real bash command, and indeed it works:
I did not figure out how to include spaces, otherwise I’d have tried
I am not sure how much of a real-world issue this is, but it seems a bit odd it’s possible for commands being executed this way.
The text was updated successfully, but these errors were encountered: