Project

General

Profile

Actions

Bug #5012

open

Remove duplicate definition of constants between C and Rust

Added by Philippe Antoine 8 months ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Discussion comes from https://github.com/OISF/suricata/pull/6840

PGSQL_LOG_PASSWORDS is not exported by cbindgen

With the following patch

-pub const PGSQL_LOG_PASSWORDS: u32 = BIT_U32!(1);
+pub const PGSQL_LOG_PASSWORDS: u32 = 2;

it does get exported

FLOW_DIR_REVERSED is another example

CI should ensure this get no longer added


Related issues 2 (1 open1 closed)

Related to Bug #5007: pgsql: coverity warningClosedJuliana Fajardini ReichowActions
Related to Optimization #4517: cbindgen export the constants from Rust to CNewActions
Actions #1

Updated by Juliana Fajardini Reichow 8 months ago

  • Related to Bug #5007: pgsql: coverity warning added
Actions #3

Updated by Philippe Antoine 7 months ago

  • Priority changed from Normal to Low
Actions #4

Updated by Philippe Antoine 7 months ago

  • Priority changed from Low to Normal
  • Target version changed from 7.0rc1 to TBD
Actions #5

Updated by Philippe Antoine 3 months ago

Actions

Also available in: Atom PDF