Skip to content

Update System.c#104

Open
hundertzwei wants to merge 1 commit into
fvwmorg:masterfrom
hundertzwei:hundertzwei-getostype_offbyone
Open

Update System.c#104
hundertzwei wants to merge 1 commit into
fvwmorg:masterfrom
hundertzwei:hundertzwei-getostype_offbyone

Conversation

@hundertzwei
Copy link
Copy Markdown

Another off by one.

Buf has max size, so to get a null-byte at the end, we can only use max - 1

Another off by one. 

Buf has max size, so to get a null-byte at the end, we can only use max - 1
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.

1 participant