-
Notifications
You must be signed in to change notification settings - Fork 142
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
Updating data type constraints #1174
Conversation
Signed-off-by: Rajas Panat <[email protected]>
Signed-off-by: Rajas Panat <[email protected]>
What's the rationale for removing the max lengths for these types? I don't mind them, but I'm curious why. (I missed most of today's weekly call. But this should be captured anyway.) I suspect these were defined as sanity checks. Also, the |
Sure, good to recap and have it documented. Current max length limits for |
Signed-off-by: Rajas Panat <[email protected]>
Signed-off-by: Rajas Panat <[email protected]>
Signed-off-by: Rajas Panat <[email protected]>
Excellent. Minor point:
The point stands though. There may well be longer hashes out there now or in the future. |
Right 64bytes, wouldn't that be 128 hexadec chars? |
Heh. Yup. I was thinking bytes, not hexadecimal characters, which double the length. |
Signed-off-by: Rajas Panat <[email protected]>
Are you assuming Unicode characters? UTF-8 is usually what is considered, and yes, the limits may have been Java oriented but Java strings are actually not limited to 65K. I read somewhere they can be 2B characters. |
This is getting in the weeds... but hey, we are all engineers and we like getting technical. I was just saying that the But this is all moot. The main point is that the 65,535 length limit for OCSF's |
Related Issue: Discussed in the Weekly Call Sep 10, 2024.
Description of changes:
file_hash_t
,resource_uid_t
&string_t