Local root vulnerability in snap-confine
Local root vulnerability in snap-confine
Posted Feb 18, 2022 16:20 UTC (Fri) by epa (subscriber, #39769)In reply to: Local root vulnerability in snap-confine by intgr
Parent article: Local root vulnerability in snap-confine
You can also blame whoever came up with the mountinfo format, but that may be a little unfair as I'm sure it has simply evolved rather than being designed. With hindsight, if you are pasting together strings in a formatted text output you should think in advance of what to do if one of the formatting characters (like, I don't know, newline) appears in a string. But again, there's no cultural consensus on what to do, and any scheme you invented would probably be parsed wrongly by lots of userland code, since it's an uncommon case.
