Skip to content

Comments

Add missing / characters for some proc paths#12

Merged
brauner merged 1 commit intobrauner:masterfrom
sforshee:proc-string-fixes
Jan 23, 2024
Merged

Add missing / characters for some proc paths#12
brauner merged 1 commit intobrauner:masterfrom
sforshee:proc-string-fixes

Conversation

@sforshee
Copy link
Contributor

In some cases when calculating path lengths or comparing paths "/proc" is used without a trailing /. This results in a off-by-one errors for string buffers which could result in a buffer overrun and a failure to correctly identify proc paths passed in via --map-mount.

In some cases when calculating path lengths or comparing paths "/proc"
is used without a trailing /. This results in a off-by-one errors for
string buffers which could result in a buffer overrun and a failure to
correctly identify proc paths passed in via --map-mount.
@brauner brauner merged commit cb8e315 into brauner:master Jan 23, 2024
@brauner
Copy link
Owner

brauner commented Jan 23, 2024

Thank you!

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