[NUT-devel] huge vs. damaged forward_ptrs in packets

Michael Niedermayer michaelni at gmx.at
Wed Mar 8 13:52:47 CET 2006


Hi

$subj, and what about a change like:

--- mpcf.txt	2006-03-08 13:36:02.000000000 +0100
+++ mncf.txt	2006-03-05 14:49:57.000000000 +0100
@@ -312,6 +306,8 @@
 packet_header
         startcode                               f(64)
         forward_ptr                             v
+        if(forward_ptr>64k)
+            header_checksum                     u(32)
 
 packet_footer
         reserved_bytes
@@ -591,6 +576,9 @@
     for frame headers the checksum contains the framecode byte and all
     following bytes upto the checksum itself
 
+header_checksum
+    checksum over the startcode and forward pointer
+
 Syncpoint tags:
 ---------------
 


-- 
Michael




More information about the NUT-devel mailing list