diff options
author | Pascal Terjan <pterjan@mandriva.com> | 2008-12-01 07:24:25 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-04 00:01:28 -0500 |
commit | bd0914104c61a852baf469b2d807322e5d0459b4 (patch) | |
tree | 271d0250c23b52cb0a24ee1f0f74851967adc556 /drivers/macintosh/windfarm_pm112.c | |
parent | 1c594c05a75770ab53a329fc4eb99c797a4bc7d7 (diff) |
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/macintosh/windfarm_pm112.c')
0 files changed, 0 insertions, 0 deletions