Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork219
properly initialized and checked Ethernet init callback (fix #890)#897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
| if (eth_if ==nullptr) { | ||
| //Q: What is the callback for? | ||
| _initializerCallback(); | ||
| //A: To call a specific function on your system before any initialization is performed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
❤️
manchoz commentedJun 17, 2024
pennam commentedJun 17, 2024
@manchoz are you aware of this callback being used somewhere? |
maidnl commentedJun 17, 2024
manchoz commentedJun 17, 2024
pennam commentedJun 17, 2024
isn't already impossible to use the
|
maidnl commentedJun 17, 2024
@pennam, I could be wrong, but here is my understanding: |
pennam commentedJun 17, 2024
@maidnl i was thinking if it makes any sense to keep the
|
manchoz commentedJun 17, 2024
Let's go ahead and remove it. I don't see any use case for this feature. |
pennam commentedJun 18, 2024
👍 let's go for#900 |
pennam commentedJun 20, 2024
superseded by#901 |
fix for potential null pointer access / _initializerCallback not initialized#890
This PR properly initializes _initializerCallback function pointer and checks for its validity before to call it