Skip to content

Define INPUT_LEN and adjust OUTPUT buffer size#69

Merged
0xAX merged 1 commit into0xAX:masterfrom
30be:patch-1
Nov 19, 2025
Merged

Define INPUT_LEN and adjust OUTPUT buffer size#69
0xAX merged 1 commit into0xAX:masterfrom
30be:patch-1

Conversation

@30be
Copy link
Copy Markdown
Contributor

@30be 30be commented Nov 19, 2025

Added INPUT_LEN constant(no magic numbers) and updated OUTPUT buffer size. This was necessary because defining OUTPUT as

OUTPUT resb 1 ;; length of 1 byte

causes undefined behavior, and possibly a segfault.

Added INPUT_LEN constant(no magic numbers) and updated OUTPUT buffer size.
This was necessary because defining OUTPUT as
```assembly
OUTPUT resb 1 ;; length of 1 byte
```
causes undefined behavior, and possibly a segfault.
@30be 30be requested review from 0xAX and klaudiagrz as code owners November 19, 2025 11:57
@0xAX
Copy link
Copy Markdown
Owner

0xAX commented Nov 19, 2025

@30be thank you!

@0xAX 0xAX merged commit b9f9998 into 0xAX:master Nov 19, 2025
1 check failed
0xAX added a commit that referenced this pull request Dec 22, 2025
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
0xAX added a commit that referenced this pull request Dec 22, 2025
* asm-4: Update the stack example based on #69

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>

* general: update contributors list

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>

* Remove not existed user from the contributors list

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>

---------

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
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