forked from Minki/linux
0f6e8aab94
Use strlcpy instead of strncpy to let nd_ps_desc always NUL terminated. Change nd_ps_desc in nd_struct struct to MAX_DESC_LEN to avoid the confusion (the related length checking also need be changed to MAX_DESC_LEN - 1). Signed-off-by: Chen Gang <gang.chen@asianux.com> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
dgrp_common.c | ||
dgrp_common.h | ||
dgrp_dpa_ops.c | ||
dgrp_driver.c | ||
dgrp_mon_ops.c | ||
dgrp_net_ops.c | ||
dgrp_ports_ops.c | ||
dgrp_specproc.c | ||
dgrp_sysfs.c | ||
dgrp_tty.c | ||
digirp.h | ||
drp.h | ||
Kconfig | ||
Makefile | ||
README | ||
TODO |
The user space code to work with this driver is located at https://github.com/wfp5p/dgrp-utils