Skip to content

Fwd port fix for build ids containing a zero byte - #5502

Merged
hlwarriner merged 2 commits into
youtube:mainfrom
hlwarriner:buildid-fix
Apr 23, 2025
Merged

hlwarriner merged 2 commits into
youtube:mainfrom
hlwarriner:buildid-fix

Conversation

@hlwarriner

Copy link
Copy Markdown
Member

This change is based on #5480, which makes this fix on the 25.lts.1+ branch. This current change goes a step further by changing the type of build_id in the EvergreenInfo struct; a uint8_t array should better represent the data and provide some type safety.

b/408471930

@hlwarriner
hlwarriner requested review from y4vor and yell0wd0g April 22, 2025 15:49

@yell0wd0g yell0wd0g left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We're starting to scratch the surface :)

Comment thread starboard/elf_loader/program_table.cc Resolved
Comment thread starboard/elf_loader/evergreen_info.h Resolved

@yell0wd0g yell0wd0g left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM as-is for the fix with comments addressed.

Comment thread starboard/elf_loader/program_table.cc Resolved
This change is based on youtube#5480, which makes this fix on the 25.lts.1+
branch. This current change goes a step further by changing the type of
build_id in the EvergreenInfo struct; a uint8_t array should better
represent the data and provide some type safety.

b/408471930
@hlwarriner
hlwarriner enabled auto-merge (squash) April 23, 2025 22:24
@hlwarriner
hlwarriner merged commit cb7ef3a into youtube:main Apr 23, 2025
kaidokert pushed a commit to kaidokert/cobalt that referenced this pull request Jun 15, 2025
This change is based on youtube#5480, which makes this fix on the 25.lts.1+
branch. This current change goes a step further by changing the type of
build_id in the EvergreenInfo struct; a uint8_t array should better
represent the data and provide some type safety.

b/408471930
briantting pushed a commit that referenced this pull request Jul 1, 2025
This change is based on #5480, which makes this fix on the 25.lts.1+
branch. This current change goes a step further by changing the type of
build_id in the EvergreenInfo struct; a uint8_t array should better
represent the data and provide some type safety.

b/408471930
original-hexsha: cb7ef3a
briantting pushed a commit that referenced this pull request Jul 11, 2025
This change is based on #5480, which makes this fix on the 25.lts.1+
branch. This current change goes a step further by changing the type of
build_id in the EvergreenInfo struct; a uint8_t array should better
represent the data and provide some type safety.

b/408471930
original-hexsha: cb7ef3a
sideb0ard pushed a commit to sideb0ard/cobalt that referenced this pull request Jul 25, 2025
Original Message:
Fwd port fix for build ids containing a zero byte (youtube#5502)

This change is based on youtube#5480, which makes this fix on the 25.lts.1+
branch. This current change goes a step further by changing the type of
build_id in the EvergreenInfo struct; a uint8_t array should better
represent the data and provide some type safety.

b/408471930
original-hexsha: cb7ef3a


Files with conflicts:
- starboard/elf_loader/evergreen_info.h
sideb0ard pushed a commit to sideb0ard/cobalt that referenced this pull request Jul 26, 2025
This change is based on youtube#5480, which makes this fix on the 25.lts.1+
branch. This current change goes a step further by changing the type of
build_id in the EvergreenInfo struct; a uint8_t array should better
represent the data and provide some type safety.

b/408471930
original-hexsha: cb7ef3a
sideb0ard pushed a commit to sideb0ard/cobalt that referenced this pull request Jul 30, 2025
This change is based on youtube#5480, which makes this fix on the 25.lts.1+
branch. This current change goes a step further by changing the type of
build_id in the EvergreenInfo struct; a uint8_t array should better
represent the data and provide some type safety.

b/408471930
original-hexsha: cb7ef3a
sideb0ard pushed a commit that referenced this pull request Aug 15, 2025
This change is based on #5480, which makes this fix on the 25.lts.1+
branch. This current change goes a step further by changing the type of
build_id in the EvergreenInfo struct; a uint8_t array should better
represent the data and provide some type safety.

b/408471930
original-hexsha: cb7ef3a
briantting pushed a commit that referenced this pull request Aug 15, 2025
This change is based on #5480, which makes this fix on the 25.lts.1+
branch. This current change goes a step further by changing the type of
build_id in the EvergreenInfo struct; a uint8_t array should better
represent the data and provide some type safety.

b/408471930

original-hexsha: cb7ef3a
sideb0ard pushed a commit that referenced this pull request Aug 20, 2025
This change is based on #5480, which makes this fix on the 25.lts.1+
branch. This current change goes a step further by changing the type of
build_id in the EvergreenInfo struct; a uint8_t array should better
represent the data and provide some type safety.

b/408471930

original-hexsha: cb7ef3a
briantting pushed a commit that referenced this pull request Aug 29, 2025
This change is based on #5480, which makes this fix on the 25.lts.1+
branch. This current change goes a step further by changing the type of
build_id in the EvergreenInfo struct; a uint8_t array should better
represent the data and provide some type safety.

b/408471930

original-hexsha: cb7ef3a
madhurajayaraman pushed a commit to madhurajayaraman/cobalt that referenced this pull request Sep 9, 2025
This change is based on youtube#5480, which makes this fix on the 25.lts.1+
branch. This current change goes a step further by changing the type of
build_id in the EvergreenInfo struct; a uint8_t array should better
represent the data and provide some type safety.

b/408471930

original-hexsha: cb7ef3a
sideb0ard pushed a commit to sideb0ard/cobalt that referenced this pull request Sep 10, 2025
This change is based on youtube#5480, which makes this fix on the 25.lts.1+
branch. This current change goes a step further by changing the type of
build_id in the EvergreenInfo struct; a uint8_t array should better
represent the data and provide some type safety.

b/408471930

original-hexsha: cb7ef3a
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