odb: don't overflow the link path buffer
Allocate a buffer large enough to store the path plus the terminator instead of letting readlink write beyond the end.
Showing
Please
register
or
sign in
to comment
Allocate a buffer large enough to store the path plus the terminator instead of letting readlink write beyond the end.