Skip to content

[3.6] Add sockaddr_alg to sock_addr_t (GH-234)#533

Merged
Mariatta merged 1 commit intopython:3.6from
Mariatta:d37c068-3.6
Mar 17, 2017
Merged

[3.6] Add sockaddr_alg to sock_addr_t (GH-234)#533
Mariatta merged 1 commit intopython:3.6from
Mariatta:d37c068-3.6

Conversation

@Mariatta
Copy link
Copy Markdown
Member

@Mariatta Mariatta commented Mar 7, 2017

sock_addr_t is used to define the minimum size of any socket address on
the stack. Let's make sure that an AF_ALG address always fits. Coverity
complains because in theory, AF_ALG might be larger than any of the other
structs. In practice it already fits.

Closes Coverity CID 1398948, 1398949, 1398950

Signed-off-by: Christian Heimes christian@python.org
(cherry picked from commit d37c068)

sock_addr_t is used to define the minimum size of any socket address on
the stack. Let's make sure that an AF_ALG address always fits. Coverity
complains because in theory, AF_ALG might be larger than any of the other
structs. In practice it already fits.

Closes Coverity CID 1398948, 1398949, 1398950

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit d37c068)
@Mariatta Mariatta requested a review from tiran March 7, 2017 03:53
@Mariatta Mariatta merged commit 7c20811 into python:3.6 Mar 17, 2017
@Mariatta Mariatta deleted the d37c068-3.6 branch March 17, 2017 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants