summaryrefslogtreecommitdiffstats
path: root/src/core/render_widget_host_view_qt.cpp
diff options
context:
space:
mode:
authorMichael BrĂ¼ning <michael.bruning@qt.io>2021-01-18 23:15:45 +0100
committerMichael BrĂ¼ning <michael.bruning@qt.io>2021-01-20 09:40:25 +0100
commit3fb215dab139fd7b61473ce3fe1058b87a6b4fe3 (patch)
treef28ab9b6ba8fb138161801b3382fe41f423a5a7c /src/core/render_widget_host_view_qt.cpp
parenta7510e85e6f53f4e889307edb58f26c8900d2d06 (diff)
Leave room for the null-termination byte when checking remote drive path
The implementation could lead to heap corruption because the drive letter string was not large enough for the drive letter plus the null- termination byte. Original patch by Tamas Karpati. Change-Id: I012057c48b071a453ef8cda926041d3e9db78555 Pick-to: 5.15 Fixes: QTBUG-90347 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/render_widget_host_view_qt.cpp')
0 files changed, 0 insertions, 0 deletions