Re: [Patch 1/1] Chunk: fix stored checksums

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/20/2009 09:45 PM, Pete Zaitcev wrote:
Existing code writes checksums of something other than the object data.
Fix by summing the object data.

Signed-off-by: Pete Zaitcev<zaitcev@xxxxxxxxxx>

---
  server/object.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

This seems too obvious... Where is the trap?

applied...  how embarrassing.

The C client definitely needs code to verify each checksum, too. The protocol is designed such that each side can verify checksums at each point in the process... but the implementations are clearly not at the design goal.

	Jeff



--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Fedora Clound]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux