summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMarios Makassikis <mmakassikis@freebox.fr>2021-05-06 05:40:02 +0300
committerSteve French <stfrench@microsoft.com>2021-05-11 03:15:47 +0300
commite7735c854880084a6d97e60465f19daa42842eff (patch)
treee2978eab92d876060095a65ab514191173749603 /tools/perf/scripts/python/export-to-postgresql.py
parent79caa9606df1504b3b5104457cbb5d759f0e5fae (diff)
downloadlinux-e7735c854880084a6d97e60465f19daa42842eff.tar.xz
cifsd: Update out_buf_len in smb2_populate_readdir_entry()
When processing a SMB2 QUERY_DIRECTORY request, smb2_populate_readdir_entry() is called first to fill the dot/dotdot entries. This moves the d_info->wptr pointer but out_buf_len remains unchanged. As a result, reserve_populate_dentry() may end up writing past the end of the buffer since the bounds checking is done on invalid values. Signed-off-by: Marios Makassikis <mmakassikis@freebox.fr> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions