Hello there,
I just tried to compile the Linux Kernel version 2.6.11.12
with the most excellent Intel C compiler. It said
net/irda/irnet/irnet_irda.c(699): warning #175: subscript out of range
self->rname[NICKNAME_MAX_LEN + 1] = '\0';
^
But
[dcb@... linux-2.6.11.12]$ find . -name \*.h -print | xargs grep
NICKNAME_MAX_LEN
./net/irda/irnet/irnet.h: char rname[NICKNAME_MAX_LEN + 1];
./include/net/irda/discovery.h:#define NICKNAME_MAX_LEN 21
[dcb@... linux-2.6.11.12]$
Suggest code rework.
Regards
David Binderman
_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now!
http://toolbar.msn.co.uk/
|