-
Notifications
You must be signed in to change notification settings - Fork 134
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
RUMM-2819 TLV Lenght Limit #1124
Conversation
@@ -79,14 +87,4 @@ class FileTests: XCTestCase { | |||
XCTAssertEqual((error as NSError).localizedDescription, "The file “file” doesn’t exist.") | |||
} | |||
} | |||
|
|||
func testWhenIOExceptionHappens_itThrowsWhenReading() throws { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replaced by DataBlockTests.testDataBlockReader_whenIOErrorHappens_itThrowsWhenReading
XCTAssertEqual(dd.logger.errorLog?.error?.message, "data exceeds the maximum size of 23 bytes.") | ||
XCTAssertEqual(dd.logger.errorLog?.error?.message, "bytesLengthExceedsLimit(limit: 23)") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will improve telemetry in RUMM-2817
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Datadog ReportBranch report: ✅ |
What and why?
Follow up of #1089
Inject object size limit to TLV to protect from 'Could not allocate memory` crash when a TLV gets corrupted.
Review checklist
Custom CI job configuration (optional)