The ynl_attr_put_str() function was not including the null terminator in the attribute length calculation. This caused kernel to reject CTRL_CMD_GETFAMILY requests with EINVAL: "Attribute failed policy validation". For a 4-character family name like "dpll": - Sent: nla_len=8 (4 byte header + 4 byte string without null) - Expected: nla_len=9 (4 byte header + 5 byte string with null) The bug was introduced in commit |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| ynl-priv.h | ||
| ynl.c | ||
| ynl.h | ||