diff options
author | Pascal Terjan <pterjan@mandriva.com> | 2008-12-01 13:24:25 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-04 06:01:28 +0100 |
commit | bd0914104c61a852baf469b2d807322e5d0459b4 (patch) | |
tree | 271d0250c23b52cb0a24ee1f0f74851967adc556 /drivers/isdn/icn | |
parent | b1isa: fix b1isa_exit() to really remove registered capi controllers (diff) | |
download | linux-bd0914104c61a852baf469b2d807322e5d0459b4.tar.xz linux-bd0914104c61a852baf469b2d807322e5d0459b4.zip |
hysdn: fix writing outside the field on 64 bits
ifa_local is assumed to be unsigned long which lead to writing the address
at dev->dev_addr-2 instead of +2
noticed thanks to gcc:
drivers/isdn/hysdn/hysdn_net.c: In function `net_open':
drivers/isdn/hysdn/hysdn_net.c:91: warning: array subscript is below array bounds
Signed-off-by: Pascal Terjan <pterjan@mandriva.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/icn')
0 files changed, 0 insertions, 0 deletions