Skip to content
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

UndefinedBehaviorSanitizer: undefined-behavior print-zep.c:86 #742

Open
fxlb opened this issue Mar 28, 2019 · 1 comment
Open

UndefinedBehaviorSanitizer: undefined-behavior print-zep.c:86 #742

fxlb opened this issue Mar 28, 2019 · 1 comment
Labels

Comments

@fxlb
Copy link
Member

fxlb commented Mar 28, 2019

At line 86:

time_t seconds = i - JAN_1970;

print-zep.c:86:22: runtime error: unsigned integer overflow: 16843009 - 2208988800 cannot be represented in type 'unsigned int'

POC:
pkt-64-zep.c-86.pcap.gz

cc: @kivinen

@kivinen
Copy link
Contributor

kivinen commented Mar 29, 2019 via email

@mcr mcr added the bug label Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants