diff options
author | stephan <stephan@noemail.net> | 2022-12-10 05:00:16 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-12-10 05:00:16 +0000 |
commit | 9be7a363ccf8a9bb78dcf390bc1f7bfac1d123b4 (patch) | |
tree | a9741d41dda82abeb5d56f47f474e24af9f96a24 /src/malloc.c | |
parent | 412237fba58ccf7a766895d6ae1b7348e760e73d (diff) | |
parent | 8ccef8f27f93b29e3d1a634f928169c8744bc07d (diff) | |
download | sqlite-9be7a363ccf8a9bb78dcf390bc1f7bfac1d123b4.tar.gz sqlite-9be7a363ccf8a9bb78dcf390bc1f7bfac1d123b4.zip |
Merge trunk into wasi-patches branch.
FossilOrigin-Name: 13dade955d46020ab408734123261e9fadb8bccbaf67003b111112af4789d8c0
Diffstat (limited to 'src/malloc.c')
-rw-r--r-- | src/malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/malloc.c b/src/malloc.c index 68d9f5f55..48c460060 100644 --- a/src/malloc.c +++ b/src/malloc.c @@ -279,7 +279,7 @@ static void mallocWithAlarm(int n, void **pp){ ** The upper bound is slightly less than 2GiB: 0x7ffffeff == 2,147,483,391 ** This provides a 256-byte safety margin for defense against 32-bit ** signed integer overflow bugs when computing memory allocation sizes. -** Parnoid applications might want to reduce the maximum allocation size +** Paranoid applications might want to reduce the maximum allocation size ** further for an even larger safety margin. 0x3fffffff or 0x0fffffff ** or even smaller would be reasonable upper bounds on the size of a memory ** allocations for most applications. |