Quentak
Joined 8 years ago
Karma
59
Submissions
9
Member since
Sep 22
Joined 8 years ago
How do you get the null byte into the string? Is it through casting blob to string? The way I have encountered this is when using the C API in which string arguments for prepared statements are passed as char pointers. If those contain the null byte then the string is cut off.
Allowing null characters and then mishandling them is worse than not allowing them.
https://kttnr.net/blog/null-terminated-strings-are-incorrect...
Is there no way to safely run graphical applications in a bwrap sandbox? I thought Wayland was supposed to be better about this.
It happened: https://twitter.com/0xdev0/status/1556933551073153024