Skip to content

Fix build error #2097#2098

Merged
seladb merged 1 commit into
seladb:devfrom
KangLin:master
Apr 9, 2026
Merged

Fix build error #2097#2098
seladb merged 1 commit into
seladb:devfrom
KangLin:master

Conversation

@KangLin

@KangLin KangLin commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Bug description

Describe the bug
/home/RabbitRemoteControl/build_linux/source/PcapPlusPlus/Common++/src/OUILookup.cpp: In member function ‘std::string pcpp::/home/RabbitRemoteControl/build_linux/source/PcapPlusPlus/Common++/src/OUILookup.cpp:100:105: error: ‘buffArray’ may be usedgmake[2]: *** [Common++/CMakeFiles/Common++.dir/build.make:163:Common++/CMakeFiles/Common++.dir/src/OUILookup.cpp.o] 错误 1

Detected OS: Linux
Distribution: deepin
Version: 23.1
Architecture: x86_64

gcc (Deepin 12.3.0-17deepin12) 12.3.0

PcapPlusPlus versions tested on

v25.05

Other PcapPlusPlus version (if applicable)

No response

Operating systems tested on

Linux

Other operation systems (if applicable)

deepin 23.1

Compiler version

gcc (Deepin 12.3.0-17deepin12) 12.3.0

Packet capture backend (if applicable)

No response

@KangLin KangLin requested a review from seladb as a code owner April 9, 2026 05:37
@seladb seladb changed the base branch from master to dev April 9, 2026 05:43

@seladb seladb left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov

codecov Bot commented Apr 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.94%. Comparing base (c3cc787) to head (5640a1e).
⚠️ Report is 4 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2098      +/-   ##
==========================================
- Coverage   84.00%   83.94%   -0.07%     
==========================================
  Files         316      316              
  Lines       56979    57020      +41     
  Branches    12084    11838     -246     
==========================================
- Hits        47868    47864       -4     
- Misses       7905     7963      +58     
+ Partials     1206     1193      -13     
Flag Coverage Δ
alpine320 76.64% <100.00%> (-0.10%) ⬇️
fedora42 76.19% <100.00%> (-0.12%) ⬇️
macos-14 82.03% <100.00%> (-0.09%) ⬇️
macos-15 82.02% <100.00%> (-0.09%) ⬇️
mingw32 70.70% <100.00%> (-0.01%) ⬇️
mingw64 70.67% <100.00%> (+0.06%) ⬆️
npcap ?
rhel94 76.02% <100.00%> (-0.11%) ⬇️
ubuntu2004 59.74% <100.00%> (-0.08%) ⬇️
ubuntu2004-zstd 59.85% <100.00%> (-0.07%) ⬇️
ubuntu2204 76.03% <100.00%> (-0.13%) ⬇️
ubuntu2204-icpx 59.11% <100.00%> (+0.03%) ⬆️
ubuntu2404 76.31% <100.00%> (-0.13%) ⬇️
ubuntu2404-arm64 76.34% <100.00%> (-0.08%) ⬇️
unittest 83.94% <100.00%> (-0.07%) ⬇️
windows-2022 85.58% <100.00%> (+0.10%) ⬆️
windows-2025 85.62% <100.00%> (+0.12%) ⬆️
winpcap 85.62% <100.00%> (-0.09%) ⬇️
xdp 52.70% <100.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@seladb

seladb commented Apr 9, 2026

Copy link
Copy Markdown
Owner

@KangLin please see this formatting error:
https://github.com/seladb/PcapPlusPlus/actions/runs/24174568722/job/70553171736?pr=2098

This:

uint8_t buffArray[6] = {0};

Should be changed to this:

uint8_t buffArray[6] = { 0 };

Same for this:

uint8_t value[6] = {0};

Should be changed to this:

uint8_t value[6] = { 0 };

@seladb seladb self-requested a review April 9, 2026 06:13
@KangLin

KangLin commented Apr 9, 2026

Copy link
Copy Markdown
Contributor Author

LGTM

@seladb seladb merged commit 66fd711 into seladb:dev Apr 9, 2026
42 checks passed
@seladb

seladb commented Apr 9, 2026

Copy link
Copy Markdown
Owner

Thank you @KangLin for working on this fix, much appreciated! ❤️ 🙏

@seladb seladb mentioned this pull request Apr 9, 2026
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 this pull request may close these issues.

2 participants