You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
libntech: pre-existing bugs found during the #27 reviews #35
Two libntech issues found during the Fable review of #27. They are outside that PR.
ReadLenPrefixedString(): a non-numeric length prefix gives length -1, then xmalloc(0) and a read of data[-1]; it would also write data[-1] if that byte were a newline. The old and new change-record readers both depend on it.
safe_open_create_perms() declares p_uid as bool (file_lib.c around line 738), so its exemption for symlinks "owned by the running user" is wrong for non-root euids. A root cf-agent is unaffected.
Activity