Skip to content

Do better at UBSAN warning deduplication #150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lzaoral opened this issue Dec 8, 2023 · 0 comments · Fixed by #152
Closed

Do better at UBSAN warning deduplication #150

lzaoral opened this issue Dec 8, 2023 · 0 comments · Fixed by #152
Assignees

Comments

@lzaoral
Copy link
Member

lzaoral commented Dec 8, 2023

A scan of rsync produces a dozen of reports like this that only differ in the actual address:

Error: UBSAN_WARNING:
rsync-3.2.7/log.c:858:13: runtime error: member access within misaligned address 0xaaab1c1e94c4 for type 'struct file_struct', which requires 8 byte alignment
0xaaab1c1e94c4: note: pointer points here
#  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
#              ^
...

Error: UBSAN_WARNING:
rsync-3.2.7/log.c:858:13: runtime error: member access within misaligned address 0xaaab20a640cc for type 'struct file_struct', which requires 8 byte alignment
0xaaab20a640cc: note: pointer points here
#  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
#              ^
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant