[asterisk-bugs] [JIRA] (ASTERISK-25720) core: Potential wrong allocation size when allocating channel variable
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Mon Jan 25 08:06:33 CST 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-25720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua Colp updated ASTERISK-25720:
-----------------------------------
Assignee: Badalian Vyacheslav (was: Unassigned)
Status: Waiting for Feedback (was: Triage)
According to C99 sizeof(char) will always return 1:
6.5.3.4.3 When [sizeof operator is] applied to an operand that has type char, unsigned char, or signed char, (or a qualified version thereof) the result is 1.
Have you actually seen platforms where this isn't true? If so then they would be violating C99.
> core: Potential wrong allocation size when allocating channel variable
> ----------------------------------------------------------------------
>
> Key: ASTERISK-25720
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25720
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/General
> Affects Versions: 13.7.0
> Reporter: Badalian Vyacheslav
> Assignee: Badalian Vyacheslav
> Severity: Minor
> Attachments: chanvars.diff
>
>
> Founded by Asan
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list