summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorbernard <[email protected]>2026-11-07 03:04:14 +0800
committerRbb666 <[email protected]>2026-11-08 14:12:22 +0800
commit2b0b1044c0ef4c49df5f27680635b48e405f7e86 (patch)
treea91137c686a123e2057afea3365c7e2897548b1b /documentation
parentcf85de90b8e1af46cb53957e277b2f257e440c35 (diff)
[libc][posix] fix: validate fd type in timerfd_settime/gettime
timerfd_do_settime() and timerfd_do_gettime() used vnode->data from any file descriptor as struct rt_timerfd. Validate that the descriptor's file operations are timerfd_fops before dereferencing the private data, using df->fops under DFS v2 and vnode->fops under DFS v1.
Diffstat (limited to 'documentation')
0 files changed, 0 insertions, 0 deletions