Fix memcpy null terminator issue#8
Open
D-Triveni wants to merge 23 commits into
Open
Conversation
This should be controlled by syslog feature define. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This was found as a build warning, a typo in using logical OR condition to compare channels. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
These help point out trivial issues. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
eloop is used by both hostap and QT-APP, as C doesn't have namespaces, prefix all QT APIs with qt_. This is needed for those embedded build systems that compile both hostap + QT. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Protects P2P code in case the DUT doesn't support it yet. Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
Protects WNM code in case the DUT doesn't support it yet. Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
Protects HS2.0 code in case the DUT doesn't support it yet. Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
Protects AP code in case the DUT doesn't support it yet. Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
Protects WPS code in case the DUT doesn't support it yet. Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
Fix only for C files. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
These functions are only applicable for the test platform, so, include them only for it to avoid build errors. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Add new file for socket opeartions, for common use across different OS. Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
After copying specified number of bytes, null character is not being copied by memcpy. So, add change to append null character Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
Open
D-Triveni
added a commit
to D-Triveni/sdk-wi-fiquicktrack-controlappc
that referenced
this pull request
Sep 15, 2023
After copying specified number of bytes, null character is not being copied by memcpy. So, add change to append null character Upstream-PR: Wi-FiQuickTrack/Wi-FiQuickTrack-ControlAppC#8 Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
D-Triveni
added a commit
to D-Triveni/sdk-wi-fiquicktrack-controlappc
that referenced
this pull request
Sep 19, 2023
After copying specified number of bytes, null character is not being copied by memcpy. So, add change to append null character Upstream-PR: Wi-FiQuickTrack/Wi-FiQuickTrack-ControlAppC#8 Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
D-Triveni
added a commit
to D-Triveni/sdk-wi-fiquicktrack-controlappc
that referenced
this pull request
Sep 20, 2023
After copying specified number of bytes, null character is not being copied by memcpy. So, add change to append null character Upstream-PR: Wi-FiQuickTrack/Wi-FiQuickTrack-ControlAppC#8 Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
D-Triveni
added a commit
to D-Triveni/sdk-wi-fiquicktrack-controlappc
that referenced
this pull request
Sep 21, 2023
After copying specified number of bytes, null character is not being copied by memcpy. So, add change to append null character Upstream-PR: Wi-FiQuickTrack/Wi-FiQuickTrack-ControlAppC#8 Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
D-Triveni
added a commit
to D-Triveni/sdk-wi-fiquicktrack-controlappc
that referenced
this pull request
Sep 21, 2023
After copying specified number of bytes, null character is not being copied by memcpy. So, add change to append null character Upstream-PR: Wi-FiQuickTrack/Wi-FiQuickTrack-ControlAppC#8 Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
D-Triveni
added a commit
to D-Triveni/sdk-wi-fiquicktrack-controlappc
that referenced
this pull request
Sep 21, 2023
After copying specified number of bytes, null character is not being copied by memcpy. So, add change to append null character Upstream-PR: Wi-FiQuickTrack/Wi-FiQuickTrack-ControlAppC#8 Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
D-Triveni
added a commit
to D-Triveni/sdk-wi-fiquicktrack-controlappc
that referenced
this pull request
Sep 22, 2023
After copying specified number of bytes, null character is not being copied by memcpy. So, add change to append null character Upstream-PR: Wi-FiQuickTrack/Wi-FiQuickTrack-ControlAppC#8 Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
D-Triveni
added a commit
to D-Triveni/sdk-wi-fiquicktrack-controlappc
that referenced
this pull request
Sep 22, 2023
After copying specified number of bytes, null character is not being copied by memcpy. So, add change to append null character Upstream-PR: Wi-FiQuickTrack/Wi-FiQuickTrack-ControlAppC#8 Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
krish2718
pushed a commit
to nrfconnect/sdk-wi-fiquicktrack-controlappc
that referenced
this pull request
Sep 22, 2023
After copying specified number of bytes, null character is not being copied by memcpy. So, add change to append null character Upstream-PR: Wi-FiQuickTrack/Wi-FiQuickTrack-ControlAppC#8 Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
cvinayak
pushed a commit
to cvinayak/sdk-wi-fiquicktrack-controlappc
that referenced
this pull request
Oct 19, 2023
After copying specified number of bytes, null character is not being copied by memcpy. So, add change to append null character Upstream-PR: Wi-FiQuickTrack/Wi-FiQuickTrack-ControlAppC#8 Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no> (cherry picked from commit 68dc825)
D-Triveni
added a commit
to D-Triveni/sdk-wi-fiquicktrack-controlappc
that referenced
this pull request
Jan 5, 2024
After copying specified number of bytes, null character is not being copied by memcpy. So, add change to append null character Upstream-PR: Wi-FiQuickTrack/Wi-FiQuickTrack-ControlAppC#8 Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
D-Triveni
added a commit
to nrfconnect/sdk-wi-fiquicktrack-controlappc
that referenced
this pull request
Jan 12, 2024
After copying specified number of bytes, null character is not being copied by memcpy. So, add change to append null character Upstream-PR: Wi-FiQuickTrack/Wi-FiQuickTrack-ControlAppC#8 Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dependent on #7