[Python-checkins] [python/cpython] d37c06: Add sockaddr_alg to sock_addr_t (#234)

GitHub noreply at github.com
Wed Feb 22 06:12:02 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: d37c068e695f8ec72b5c1b5a5a5ece2337fda768
      https://github.com/python/cpython/commit/d37c068e695f8ec72b5c1b5a5a5ece2337fda768
  Author: Christian Heimes <christian at python.org>
  Date:   2017-02-22 (Wed, 22 Feb 2017)

  Changed paths:
    M Modules/socketmodule.c
    M Modules/socketmodule.h

  Log Message:
  -----------
  Add sockaddr_alg to sock_addr_t (#234)

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 at python.org>




More information about the Python-checkins mailing list