Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced strncpy with memcpy #684

Merged
merged 3 commits into from
Apr 5, 2019
Merged

Commits on Apr 5, 2019

  1. Replaced strncpy with memcpy

    Signed-off-by: ivanpauno <ivanpauno@ekumenlabs.com>
    ivanpauno committed Apr 5, 2019
    Configuration menu
    Copy the full SHA
    08d39e8 View commit details
    Browse the repository at this point in the history
  2. Use rcutils_snprintf in place of std::strncpy

    Signed-off-by: ivanpauno <ivanpauno@ekumenlabs.com>
    ivanpauno committed Apr 5, 2019
    Configuration menu
    Copy the full SHA
    36f1d93 View commit details
    Browse the repository at this point in the history
  3. Used memcpy, with bound checking

    Signed-off-by: ivanpauno <ivanpauno@ekumenlabs.com>
    ivanpauno committed Apr 5, 2019
    Configuration menu
    Copy the full SHA
    7005f27 View commit details
    Browse the repository at this point in the history