Skip to content

Commit

Permalink
Remove bzero commentary
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdy committed Oct 7, 2020
1 parent 0204205 commit 1f4fc63
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ public LinuxProtectedMemoryAllocator(final LinuxLibc libc) {

@Override
public void zeroMemory(final Pointer pointer, final long length) {
//Glibc bzero doesn't seem to be vulnerable to being optimized away
//Glibc doesn't seem to have explicit_bzero, memset_s, or memset_explicit
libc.bzero(pointer, new NativeLong(length));
}

Expand Down

0 comments on commit 1f4fc63

Please sign in to comment.