Skip to content

tr181: ieee1905: fix invalid use of strncat

Daniel Danzberger requested to merge devel-prpl into devel
  • Using strncat with source string lenght as limit makes no sense
  • Fixes potential stack overflow of list_val
  • No need to 0 initialize full list_val buffer

Signed-off-by: Daniel Danzberger daniel@dd-wrt.com

Merge request reports