aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/corruptionCheck.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corruptionCheck.js b/src/corruptionCheck.js
index bd3b240b..d676c290 100644
--- a/src/corruptionCheck.js
+++ b/src/corruptionCheck.js
@@ -43,7 +43,7 @@ var CorruptionChecker = {
CorruptionChecker.realFree(allocation);
},
canary: function(x) {
- return (x + (x << 3) + (x&75) - (x&47))&255;
+ return (x&127) + 10;
},
fillBuffer: function(allocation, size) {
for (var x = allocation; x < allocation + size; x++) {