nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] corruption when attaching all-null files


From: Lyndon Nerenberg
Subject: Re: [Nmh-workers] corruption when attaching all-null files
Date: Wed, 7 May 2014 12:56:37 -0700

On May 7, 2014, at 12:49 PM, Paul Fox <address@hidden> wrote:

> and i think i understand
> the containsnuls issue

There should only be one way to declare if the content is 7bit.

If you have 'is7bit' and 'containsnul' + 'contains8bit', there are two possible 
decision paths:

1) 'is7bit' is set, or
2) 'containsnul' and 'contains8bit' are both unset.

If a chunk of code, e.g., sets 'contains8bit' but forgets to clear 'is7bit', 
who wins when you try to decide if the code is 7bit safe?

--lyndon

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

[Prev in Thread] Current Thread [Next in Thread]