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

Warnint 64to32 6186 v2 #9117

Closed
wants to merge 2 commits into from

Conversation

catenacyber
Copy link
Contributor

Link to redmine ticket:
https://redmine.openinfosecfoundation.org/issues/6186

Describe changes:

  • ci : add the -Wshorten-64-to-32 flag to clang after -Wimplicit-int-conversion
  • fix these warnings for all src/a*.c

Provide values to any of the below to override the defaults.

LIBHTP_BRANCH=pr/396

OISF/libhtp#396

Modifies #9105 by changing fix for frames, and fixing ubsan

Draft : is this the way to go ?
Make multiple PRs for this redmine ticket
I will remove the CI commit in the next version when it gets stable, but so, we have some red feedback to see what is still to be fixed

Ticket: OISF#6186

clang warns and errors on 64 to 32 bits integer conversion
Ticket: OISF#6186

Warnings about downcast from 64 to 32 bits
@suricata-qa
Copy link

WARNING:

field baseline test %
SURI_TLPR1_stats_chk
.app_layer.flow.rfb 221 246 111.31%
.app_layer.tx.rfb 227 246 108.37%
.app_layer.error.rfb.parser 242 1 0.41%

Pipeline 14934

@catenacyber
Copy link
Contributor Author

Replaced by #9155

@catenacyber catenacyber closed this Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants