Landing: d54aaab350d4

Project / Subsystem

gcc / libssp

Date

2026-05-05

Author

H.J. Lu

Commit

d54aaab350d4224c458b50af473b5ea6bb9e14a4

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libssp
patch_id
commit_hash
d54aaab350d4224c458b50af473b5ea6bb9e14a4
source_type
github
headline
libssp: Change __stack_chk_guard to uintptr_t.
tldr
Modifies libssp to declare __stack_chk_guard as uintptr_t to match its internal declaration in GCC.
author
H.J. Lu
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • libssp
  • security
  • stack smashing protection
discussion_id_link
bugzilla_pr
date
2026-05-05T00:00:00.000Z

This commit modifies the libssp (stack smashing protection) library to declare __stack_chk_guard as uintptr_t, matching its internal declaration within the GCC compiler. This change ensures consistency between the internal and external definitions of the stack protection guard, preventing potential issues when assigning integer values to it. The original declaration in GCC was made in commit c05b5e5d8cb660ed43159d66fd669c20746d6bea.