[PATCH 04/10] parser: catch failures in decoding headers

Stephen Finucane stephen at that.guru
Thu Jun 29 06:08:42 AEST 2017


On Wed, 2017-06-28 at 17:48 +1000, Daniel Axtens wrote:
> Headers can fail to decode:
>  - if a part cannot be encoded as ascii
>  - if the coding hint names a codec that doesn't exist
>  - if there's a null byte in the codec name
> 
> Catch these errors.
> 
> Signed-off-by: Daniel Axtens <dja at axtens.net>

Reviewed-by: Stephen Finucane <stephen at that.guru>

and applied.



More information about the Patchwork mailing list