[asterisk-bugs] [JIRA] Assigned: (ASTERISK-20241) alignment of MD5Context in buffer not enforced (theoretical issue only)
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Wed Aug 29 13:51:07 CDT 2012
[ https://issues.asterisk.org/jira/browse/ASTERISK-20241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Mudgett reassigned ASTERISK-20241:
------------------------------------------
Assignee: Richard Mudgett
> alignment of MD5Context in buffer not enforced (theoretical issue only)
> -----------------------------------------------------------------------
>
> Key: ASTERISK-20241
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-20241
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: General
> Affects Versions: 1.8.15.0
> Reporter: Walter Doekes
> Assignee: Richard Mudgett
> Severity: Trivial
> Attachments: tmp.diff
>
>
> Hi,
> the struct MD5Context character buffer is cast to an int32_t* without making sure that said buffer is aligned.
> Since the buffer follows two uint32_t's, the chance of 'in' being (32 bits) unaligned is nil in practice. But adding code to ensure that 'in' stays aligned costs nothing and removes all doubts about the casts being safe.
> Regards,
> Walter
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list