[NUT-devel] huge vs. damaged forward_ptrs in packets
Oded Shimon
ods15 at ods15.dyndns.org
Wed Mar 8 15:23:06 CET 2006
On Wed, Mar 08, 2006 at 01:52:47PM +0100, Michael Niedermayer wrote:
> 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:
> ---------------
It's somewhat of a hack, but it works.. No real objections here.
BTW, about removing 'metadata' stream type, could you push back 'userdata'
to being 3?...
- ods15
More information about the NUT-devel
mailing list