Created attachment 5769 Fix array out of bounds write xfce4-netload-plugin does an array out of bounds write when trying to ensure nul-termination panel-plugin/net.c: strncpy( data->ifdata.if_name, device, INTERFACE_NAME_LENGTH); data->ifdata.if_name[INTERFACE_NAME_LENGTH] = '\0'; where the size of ifdata.if_name is INTERFACE_NAME_LENGTH. See attached patch for a fix.
Mass-reassign all bugs from florian@ to goodies-dev@, thanks for the maintenance work! (and sorry for the bugmail spam..)
mmh, the name of the iface you type in the settings cannot exceed 32 chars, and if_name has 33 chars. I will look into this.
ok good catch
Mike, If you agree the patch should be pushed, could you please do it and then close this bug report? The vulnerable strncpy is still present in Git right now. Thanks!
Pushed to master, thank you. https://git.xfce.org/panel-plugins/xfce4-netload-plugin/commit/?id=17ba2f635b9bcc02415e12ab0f4cfbeb920e1377