bugThe nmh Mail Handling System - Bugs: bug #47453, convert_charset() @ mhshowsbr.c...

 
 

bug #47453: convert_charset() @ mhshowsbr.c should recover from EINVAL/EILSEQ

Submitted by:  None
Submitted on:  Fri 18 Mar 2016 07:15:49 AM UTC  
 
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 19 Mar 2016 04:07:45 AM UTC, comment #1:

Thank you for the patch! I would like to give you credit, but there was no name attached to the patch. This patch, slightly modified, has been committed.

Ken Hornstein <kenh>
Project Administrator
Fri 18 Mar 2016 07:15:49 AM UTC, original submission:

convert_charset() reads a file in a fixed size of bytes,
not line by line.
This increases the chance that a multi-byte sequence lays across
the block boundary.
So convert_charset() must handle EINVAL which iconv() returned.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #36682:  0 added by None (857B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by kenh (Posted a comment)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 19 Mar 2016 04:07:45 AM UTCkenhOpen/ClosedOpen=>Closed
    Fri 18 Mar 2016 07:15:49 AM UTCNoneAttached File-=>Added 0, #36682

    Back to the top


    Powered by Savane 3.1-cleanup1