seaweedfs/weed
Patrick Schmidt 3f758820c1
Fix FUSE server buffer leaks in file gaps (#3472)
* Fix FUSE server buffer leaks in file gaps

This change zeros read buffers when encountering file gaps during
file/chunk reads in FUSE mounts.
It prevents leaking internal buffers of the FUSE server which could
otherwise reveal metadata, directory listings, file contents and
other data related to FUSE API calls.
The issue was that buffers are reused, but when a file gap was found
the buffer was not zeroed accordingly and the existing data of the
buffer was kept and returned.

* Move zero logic into its own method
2022-08-21 11:33:58 -07:00
..
cluster move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command refactoring 2022-08-20 22:38:15 -07:00
filer Fix FUSE server buffer leaks in file gaps (#3472) 2022-08-21 11:33:58 -07:00
ftpd move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
glog move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
iamapi move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
images move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
mount mount: retryable data chunk uploading 2022-08-20 19:04:36 -07:00
mq also migrate jsonpb 2022-08-17 12:42:03 -07:00
notification also migrate jsonpb 2022-08-17 12:42:03 -07:00
operation adjust log 2022-08-20 23:34:07 -07:00
pb fix tests 2022-08-18 00:15:46 -07:00
query move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
remote_storage move proto package 2022-08-17 12:05:07 -07:00
replication filer sink: retryable data chunk uploading 2022-08-20 19:09:15 -07:00
s3api s3: fix regression on HEAD directory operation 2022-08-18 02:13:58 -07:00
security fix deprecated functions 2022-07-29 01:34:39 -07:00
sequence move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
server adjust type 2022-08-20 22:37:24 -07:00
shell fix tests 2022-08-18 00:15:46 -07:00
static Change filer UI icon from picture to icon font. 2022-04-08 15:07:56 +08:00
stats refactor FilerRequest metrics (#3402) 2022-08-04 01:44:54 -07:00
storage volume: file counter should be all files 2022-08-20 23:35:31 -07:00
topology rand start garbageThreshold and reset metric ReplicaPlacementMismatch (#3396) 2022-08-12 13:11:09 -07:00
util retry for all errors 2022-08-20 23:34:45 -07:00
wdclient remove logs 2022-08-15 01:05:35 -07:00
Makefile debug 2022-08-07 00:55:49 -07:00
weed.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00