Commit 9fb4fa8d authored by Ruben Bridgewater's avatar Ruben Bridgewater Committed by Rich Trott
Browse files

assert,util: harden comparison

The former algorithm used checks which were unsafe. Most of these
have been replaced with alternatives that can not be manipulated or
fooled that easily.

PR-URL: https://github.com/nodejs/node/pull/24831


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarUjjwal Sharma <usharma1998@gmail.com>
parent d695a019
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment