RE: [BlueZ] gatt-server: Fix integer overflow

[email protected]
Newsgroups org.kernel.vger.linux-bluetooth
Message-ID <[email protected]>
This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=1133054

---Test result---

Test Summary:
CheckPatch                    FAIL      0.42 seconds
GitLint                       PASS      0.30 seconds
BuildEll                      PASS      20.28 seconds
BluezMake                     PASS      490.77 seconds
MakeCheck                     PASS      1.10 seconds
MakeDistcheck                 PASS      150.84 seconds
CheckValgrind                 PASS      147.90 seconds
CheckSmatch                   WARNING   291.15 seconds
bluezmakeextell               PASS      93.95 seconds
IncrementalBuild              PASS      495.99 seconds
ScanBuild                     PASS      863.79 seconds

Details
##############################
Test: CheckPatch - FAIL
Desc: Run checkpatch.pl script
Output:
[BlueZ] gatt-server: Fix integer overflow
WARNING:BRACES: braces {} are not necessary for single statement blocks
#106: FILE: src/shared/gatt-server.c:1192:
+	if (len > UINT16_MAX) {
+		return false;
+	}

/github/workspace/src/patch/14705742.patch total: 0 errors, 1 warnings, 26 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

/github/workspace/src/patch/14705742.patch has style problems, please review.

NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPDX_LICENSE_TAG SPLIT_STRING SSCANF_TO_KSTRTO

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.


##############################
Test: CheckSmatch - WARNING
Desc: Run smatch tool with source
Output:
src/shared/gatt-server.c:271:25: warning: Variable length array is used.src/shared/gatt-server.c:614:25: warning: Variable length array is used.src/shared/gatt-server.c:712:25: warning: Variable length array is used.src/shared/gatt-server.c:271:25: warning: Variable length array is used.src/shared/gatt-server.c:614:25: warning: Variable length array is used.src/shared/gatt-server.c:712:25: warning: Variable length array is used.src/shared/gatt-server.c:271:25: warning: Variable length array is used.src/shared/gatt-server.c:614:25: warning: Variable length array is used.src/shared/gatt-server.c:712:25: warning: Variable length array is used.


https://github.com/bluez/bluez/pull/2343

---
Regards,
Linux Bluetooth
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.