[google/syzkaller] 20d37d: pkg/vcs: be more strict in BaseForDiff

0 views
Skip to first unread message

Aleksandr Nogikh

unread,
5:04 AM (18 hours ago) 5:04 AM
to syzk...@googlegroups.com
Branch: refs/heads/gh-readonly-queue/master/pr-6618-0c2e1647a23d32431208ff218f6ee59cd9c216b5
Home: https://github.com/google/syzkaller
Commit: 20d37d280693b1646e3bd33ab3d8a0a947830a8e
https://github.com/google/syzkaller/commit/20d37d280693b1646e3bd33ab3d8a0a947830a8e
Author: Aleksandr Nogikh <nog...@google.com>
Date: 2026-01-16 (Fri, 16 Jan 2026)

Changed paths:
M pkg/vcs/git.go
M pkg/vcs/git_test.go

Log Message:
-----------
pkg/vcs: be more strict in BaseForDiff

Do not tolerate unknown blob hashes - it means that we are unable to
find the correct base commit given the repository.
Explicitly ignore newly added files - we definitely won't find their
hashes.
Explicitly skip malformed patches that won't have any blob hashes -
otherwise we could end up with too many candidates and waste too much
time.



To unsubscribe from these emails, change your notification settings at https://github.com/google/syzkaller/settings/notifications

Aleksandr Nogikh

unread,
5:15 AM (18 hours ago) 5:15 AM
to syzk...@googlegroups.com
Branch: refs/heads/master
Reply all
Reply to author
Forward
0 new messages