Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
HardenedBSD
Commits
2aad9062
Commit
2aad9062
authored
Sep 25, 2021
by
Gordon Bergling
Browse files
ubsan: Fix a typo in an error message
- s/asumption/assumption/ Obtained from: NetBSD MFC after: 1 week
parent
33c1e727
Changes
1
Hide whitespace changes
Inline
Side-by-side
sys/kern/kern_ubsan.c
View file @
2aad9062
...
...
@@ -717,7 +717,7 @@ HandleAlignmentAssumption(bool isFatal, struct CAlignmentAssumptionData *pData,
if
(
pData
->
mAssumptionLocation
.
mFilename
!=
NULL
)
{
DeserializeLocation
(
szAssumptionLocation
,
LOCATION_MAXLEN
,
&
pData
->
mAssumptionLocation
);
Report
(
isFatal
,
"UBSan: Undefined Behavior in %s, alignment assumption of %#lx for pointer %#lx (offset %#lx), asumption made in %s
\n
"
,
Report
(
isFatal
,
"UBSan: Undefined Behavior in %s, alignment assumption of %#lx for pointer %#lx (offset %#lx), as
s
umption made in %s
\n
"
,
szLocation
,
ulAlignment
,
ulRealPointer
,
ulOffset
,
szAssumptionLocation
);
}
else
{
...
...
HardenedBSD Services
@hardenedbsd-services
mentioned in commit
0f426ded
·
Oct 02, 2021
mentioned in commit
0f426ded
mentioned in commit 0f426dedccf8eb2b039074a55dd3cfc99e7b0338
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment