Re:Preview in macOS Big Sur is destroying PDFs
by junon on Wednesday December 16, 2020 @05:16PM
(#25449537)
Aside from potential vulnerabilities (bugs), no. Font formats are declarative. The various tables that define conditionals et al have no ability to run arbitrary code, and certainly do not have any concept of scripting and the like.
[ Parent
| on HN ]
Re:Preview in macOS Big Sur is destroying PDFs
by dialamac on Wednesday December 16, 2020 @05:44PM
(#25449804)
Ttf has bytecode for a stack interpreter with conditionals and loops (jump instructions and loop all). That’s declarative in the sense that all code is data, but i would say it is imperative.
Re:Preview in macOS Big Sur is destroying PDFs
by junon on Tuesday December 22, 2020 @05:25AM
(#25504822)
Yes but it is a strict set of very limited codes, nothing which gains access to the machine a la syscalls.
Re:Preview in macOS Big Sur is destroying PDFs
by cratermoon on Wednesday December 16, 2020 @10:06PM
(#25451939)