Skip to content

telnet.c: fix a calloc NULL check - #68

Merged
jonrebm merged 1 commit into
pengutronix:mainfrom
jonrebm:telnet-ios-fix
Jul 13, 2026
Merged

telnet.c: fix a calloc NULL check#68
jonrebm merged 1 commit into
pengutronix:mainfrom
jonrebm:telnet-ios-fix

Conversation

@jonrebm

@jonrebm jonrebm commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

This got scramled during rebase of #57; the intent was to check the calloc return value.

This got scramled during rebase; the intent was to check the calloc
return value.

Signed-off-by: Jonas Rebmann <jre@pengutronix.de>
@jonrebm
jonrebm merged commit 8257823 into pengutronix:main Jul 13, 2026
2 checks passed
@ukleinek

Copy link
Copy Markdown
Contributor

Regarding the conversation in #61: You see how rebasing yields to bugs being introduced. Yes, the same can happen with a merge, but then it's obvious where the bug originates.

@jonrebm

jonrebm commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

I understand your argument in #61 but in this case the "scramled during rebase" was probably a misnomer, I made this mistake when applying feedback; namely #57 (comment) 🙂
The problem was catched by CI when I worked on finally merging that in #58

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