Bug 2177 - wrong sizeof() parameter following chacha20 commit
Summary: wrong sizeof() parameter following chacha20 commit
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: -current
Hardware: All All
: P5 minor
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_6_5
  Show dependency treegraph
 
Reported: 2013-12-02 07:35 AEDT by Loganaden Velvindron
Modified: 2015-08-11 23:02 AEST (History)
1 user (show)

See Also:


Attachments
wrong sizeof() (645 bytes, text/plain)
2013-12-02 07:35 AEDT, Loganaden Velvindron
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Loganaden Velvindron 2013-12-02 07:35:44 AEDT
Created attachment 2380 [details]
wrong sizeof()

Following the recent chacha20 commit:

from cipher.c:

 bzero(&cc->cp_ctx, sizeof(&cc->cp_ctx));

'&' should be omitted, in that case.
Comment 1 Damien Miller 2013-12-02 14:13:30 AEDT
applied - thanks.
Comment 2 Damien Miller 2015-08-11 23:02:35 AEST
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1