[PATCH 02/14] atm: fix info leak via getsockname()

2012-08-15 Thread Mathias Krause
The ATM code fails to initialize the two padding bytes of struct sockaddr_atmpvc inserted for alignment. Add an explicit memset(0) before filling the structure to avoid the info leak. Signed-off-by: Mathias Krause --- net/atm/pvc.c |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 02/14] atm: fix info leak via getsockname()

2012-08-15 Thread Mathias Krause
The ATM code fails to initialize the two padding bytes of struct sockaddr_atmpvc inserted for alignment. Add an explicit memset(0) before filling the structure to avoid the info leak. Signed-off-by: Mathias Krause mini...@googlemail.com --- net/atm/pvc.c |1 + 1 file changed, 1 insertion(+)