History log of /openbmc/slpd-lite/slp_parser.cpp (Results 1 – 8 of 8)
Revision Date Author Comments
# 20bab748 24-May-2024 Andrew Geissler <geissonator@yahoo.com>

SrvRqst: Add bounds checking on buffer parsing

There are multiple length fields provided by the user in this command.
Need to ensure those lengths do not exceed the input buffer size.

Tested:
- Exe

SrvRqst: Add bounds checking on buffer parsing

There are multiple length fields provided by the user in this command.
Need to ensure those lengths do not exceed the input buffer size.

Tested:
- Executed new unit tests successfully

Change-Id: Ife4b74d7541d6939bdc30a381fc5cc80cfd24057
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# f60e7108 24-May-2024 Andrew Geissler <geissonator@yahoo.com>

SrvTypeRqst: Add bounds checking on buffer parsing

There are multiple length fields provided by the user in this command.
Need to ensure those lengths do not exceed the input buffer size.

Tested:
-

SrvTypeRqst: Add bounds checking on buffer parsing

There are multiple length fields provided by the user in this command.
Need to ensure those lengths do not exceed the input buffer size.

Tested:
- Executed new unit tests successfully

Change-Id: Id42c8c2f7f87cab07982edabe93f09cd9ef4208a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# c668313e 23-May-2024 Andrew Geissler <geissonator@yahoo.com>

unit-test: add language tag length validation

Ensure caller has provided enough language tag data to match with their
input length

Change-Id: Icc60601d19ee33a52413dd8f2b8462791571ebcb
Signed-off-by

unit-test: add language tag length validation

Ensure caller has provided enough language tag data to match with their
input length

Change-Id: Icc60601d19ee33a52413dd8f2b8462791571ebcb
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# 0e948dca 23-May-2024 Andrew Geissler <geissonator@yahoo.com>

unit-test: add basic header validation tests

Ensure header size is correct and write tests to validate it.

The goal of this patch series is to match with the validation done
within openslp (slp_v2m

unit-test: add basic header validation tests

Ensure header size is correct and write tests to validate it.

The goal of this patch series is to match with the validation done
within openslp (slp_v2message.c, SLPv2MessageParseHeader)

Change-Id: I42aace162051a9e4795ebbaf36f193efe4738dcd
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# f191bd8f 04-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

slp_parser: fix missing-field-initializers warnings

By attempting to pass a single field value into the Message,
the implication is that the other fields are non-initialized, due
to list-initializat

slp_parser: fix missing-field-initializers warnings

By attempting to pass a single field value into the Message,
the implication is that the other fields are non-initialized, due
to list-initialization rules. Remove the first `0` parameter, so
that the default initialization is done.

Change-Id: If85a39c8c34299ec508edd888c052f622a463770
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# aa902c6e 04-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: update with latest

Change-Id: I9550e13176264c875ac6bb52b18c70cc7e52197a
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>


# 537ff140 01-Nov-2018 Patrick Venture <venture@google.com>

add clang-format to repo for style

Add .clang-format to repo for style.

Change-Id: I286b3b245550d6a736d7df797f0ce21b51d7a235
Signed-off-by: Patrick Venture <venture@google.com>


# 07c462ac 13-Dec-2016 Ratan Gupta <ratagupt@in.ibm.com>

SLP Parser

Contains SLP Parser and SLP Message Handler for
the following messages:
-findsrvtypes.
-findsrvs.

Change-Id: I24234b63a8a1226b5c4bb3f6ac0c9aa799987ffc
Signed-off-by: Ratan Gupta <ratag

SLP Parser

Contains SLP Parser and SLP Message Handler for
the following messages:
-findsrvtypes.
-findsrvs.

Change-Id: I24234b63a8a1226b5c4bb3f6ac0c9aa799987ffc
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>

show more ...