[linux-vrf-core] [PATCHLET] Check ioctl parameters.
Status: Beta
Brought to you by:
jleu
From: Yon U. <hav...@gm...> - 2003-01-02 17:43:50
|
Hi, Do not happily overwrite memory. A better solution could be to just #define VRF_MAX 256 and forget about it (there is cast in the af_inet.c call, so the check would be redundant). Wasted memory is not an issue ( less than 1Kbyte). And a happy new year, yon |