Warpinator may delete files on receiver after interrupted transfer
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- android, c, linux
- Lĩnh vực
- desktop-dev, mobile-dev, networking
Hướng nghiên cứu
Không có tệp nguồn hay bài kiểm thử nào được nêu. Hãy bắt đầu bằng cách tái hiện quá trình truyền bị gián đoạn rồi tiếp tục giữa các thiết bị di động và máy tính để bàn, sau đó theo dõi cách phía nhận xử lý các tệp bị thiếu ở phía gửi và việc hủy. Được xem là hoàn tất khi một lần truyền không bao giờ xóa các tệp ở phía nhận nếu không có xác nhận rõ ràng, đồng thời có kiểm thử hồi quy bao phủ chuỗi thao tác đã được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Distribution
Linux Mint 22.3
Package version
2.0.2+zena
Frequency
Always
Bug description
Warpinator can cause accidental data loss on the receiving device after an interrupted transfer.
If a file transfer is interrupted and later resumed, Warpinator may delete files on the receiving device that no longer exist on the sender, even though the user only intends to send files, not synchronize or delete them.
This behavior is unexpected and potentially dangerous, especially on mobile devices.
Steps to reproduce
-
Send files from Device A (mobile) to Device B using Warpinator.
-
Start sending the same files again from Device A to Device B.
-
Stop the transfer by denying/canceling the request.
-
On Device A, delete or move some of the previously sent files.
-
Send files again from Device A to Device B.
-
Warpinator shows the warning:
“Files may be overwritten.”
-
Accept the request.
Bugous result
Files that no longer exist on Device A are deleted from Device B, resulting in data loss.
Impact
- High risk of unintentional data loss
- Especially problematic for mobile usage where interrupted transfers are common
- Behavior is not clearly communicated to the user
Suggested Improvements
- Never delete receiver files by default.
- Add a clear confirmation dialog if deletions are about to occur.
- Treat transfers as copy-only, not synchronization.
- Improve warning message to explicitly mention possible deletions.
Environment
- App: Warpinator 2.0.2+zena / Warpinator for Android1.8.5
- Devices: Mobile → Desktop
Expected behavior
- Warpinator should never delete files on the receiving device unless the user explicitly confirms a delete or synchronization operation.
- Interrupted transfers should not lead to implicit file removal.
- The overwrite warning should not imply deletion of missing files.
Additional information
No response
- Ngôn ngữ chính
- C
- Star
- 1.6k
- Fork
- 117
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của linuxmint/warpinator
-
Cannot transfer srt filesĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
linuxmint/warpinator#253 ·
-
Error when computer wake up.Có thể đã có người làm @BreezeDelegate đã nhận 74 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
linuxmint/warpinator#252 · 1 bình luận · 1 reaction ·
-
Missing iconsĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
linuxmint/warpinator#251 · 2 bình luận · 1 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
linuxmint/warpinator#233 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
linuxmint/warpinator#232 · 3 bình luận ·
Tất cả issue của linuxmint/warpinator
Issue tương tự
-
v9.6.0: CMake incorrectly enforces presence of libevdevCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Unhandled ValueError terminates watchdog thread when GISRC value contains multiple colonsĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug Component component: net
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
RT-Thread/rt-thread#11913 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
contiki-ng/contiki-ng#3289 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
area:docs help wanted type:enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày