bugThe nmh Mail Handling System - Bugs: bug #59863, Patch: inc(1) does not use a...

 
 

bug #59863: Patch: inc(1) does not use a password given by stdin (any more)

Submitter:  None
Submitted:  Tue 12 Jan 2021 12:19:14 PM UTC
   
 
Category:  Bug Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 09 Apr 2022 07:59:28 PM UTC, comment #1: 

Fixed in commit 896f07bf3c08becc06a881f57fb0ad2160819d45 at Sun Jul 1 09:49:28 2018 +0100.

David Levine <levine>
Group administrator
Tue 12 Jan 2021 12:19:14 PM UTC, original submission:  

Hello,

incorporation mail via inc(1) and haning over the password
via STDIN does not work any more.

$ inc +inbox -truncate -nochangecur -width 100 -host pop.hka.example -user example -snoop
Trying to connect to "pop.hka.example" ...
Connecting to 10.0.0.1:110...
<= +OK POP3 server ready version 1.14
=> USER example
<= +OK Password required for example.
Password (pop.hka.example:example):
=> PASS (null)
<= -ERR [AUTH] Password supplied for example is incorrect.
=> QUIT
<= +OK POP3 server signing off.
inc: -ERR [AUTH] Password supplied for example is incorrect.
$

This is caused by ruserpass().
Which gets the password from nmh_getpass() and stores it in
*aname instead of *apass.

It looks like this is an old mistake from 2016-10-16.
http://git.savannah.nongnu.org/cgit/nmh.git/commit/sbr/ruserpass.c?h=1.7-release&id=1d4977afe4282d300f0f34e68974f4ef211ac769

Kind regards, Ralf

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #50707:  patch-sbr_ruserpass.c added by None (254B - text/x-csrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by levine (Posted a comment)
  •  

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-04-09 levine StatusNone Fixed
        Open/ClosedOpen Closed
    2021-01-12 None Attached File- Added patch-sbr_ruserpass.c, #50707

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code