News for hackers. Stuff that matters.
Re:Hashpipe – Pipe iff the hash matches by stormbrew on Friday April 03, 2015 @06:20PM (#9318948)
You should be able to detect if the stream is seekable (by checking the result of 'lseek(fd,0,SEEK_CUR)') and only buffer if it's not.

Of course, if you're really paranoid, the file could get changed out from under you. But honestly you're probably screwed either way with an attacker who can do that.

There are no comments on this comment yet.