commit | 097933ddcd28ef99c116651b20fd2e06717e0f0d | [log] [tgz] |
---|---|---|
author | Tilman Schmidt <tilman@imap.cc> | Sat Oct 11 13:46:29 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 14 15:05:33 2014 -0400 |
tree | daba40194d81bd13eb0689e3668bae0988137a8d | |
parent | ee7ff5fed25711a26da7826071e6ede8af049ad2 [diff] |
isdn/gigaset: limit raw CAPI message dump length In dump_rawmsg, the length field from a received data package was used unscrutinized, allowing an attacker to control the size of the allocated buffer and the number of times the output loop iterates. Fix by limiting to a reasonable value. Spotted with Coverity. Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: David S. Miller <davem@davemloft.net>