mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 08:47:56 +01:00
Expand example/jsonptr memory safety comment
This commit is contained in:
1 parent
18ef5b458c
commit
f2eb7014ea
1 file changed
+2
-2
@@ -34,8 +34,8 @@ trivially protected against certain bug classes: memory leaks, double-frees and
|
|||||||
use-after-frees.
|
use-after-frees.
|
||||||
|
|
||||||
The core JSON implementation is also written in the Wuffs programming language
|
The core JSON implementation is also written in the Wuffs programming language
|
||||||
(and then transpiled to C/C++), which is memory-safe but also guards against
|
(and then transpiled to C/C++), which is memory-safe (e.g. array indexing is
|
||||||
integer arithmetic overflows.
|
bounds-checked) but also guards against integer arithmetic overflows.
|
||||||
|
|
||||||
For defense in depth, on Linux, this program also self-imposes a
|
For defense in depth, on Linux, this program also self-imposes a
|
||||||
SECCOMP_MODE_STRICT sandbox before reading (or otherwise processing) its input
|
SECCOMP_MODE_STRICT sandbox before reading (or otherwise processing) its input
|
||||||
|
|||||||
Reference in new issue
Block a user