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

Backport 2.7: Add limits.h inclusion to ssl_tls.c and udp_proxy.c #2446

Closed

Conversation

redtangent
Copy link
Contributor

Description

This is a backport of PR #1999 to branch mbedtls-2.7.

The standard C library header limits.h was only being included by check_config.h so was being missing if users provided their own config.h that didn't include check_config.h.

This fixes #1803.

Status

READY

Todos

  • Tests
  • Documentation
  • Changelog updated
  • Backported

@RonEld RonEld added bug CLA not applicable needs-review Every commit must be reviewed by at least two team members, component-tls labels Feb 17, 2019
RonEld
RonEld previously approved these changes Feb 17, 2019
@AndrzejKurek
Copy link
Contributor

@hanno-arm - please review this backport.

dgreen-arm
dgreen-arm previously approved these changes Mar 5, 2019
Copy link
Contributor

@dgreen-arm dgreen-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a faithful backport of #1999, but there is a build failure with generate_errors.pl

@dgreen-arm dgreen-arm self-requested a review March 5, 2019 15:38
@dgreen-arm dgreen-arm dismissed their stale review March 5, 2019 15:39

Wrong button was clicked

Copy link
Contributor

@dgreen-arm dgreen-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a faithful backport of #1999, but there is a build failure with generate_errors.pl

@Patater Patater added needs-work needs-ci Needs to pass CI tests and removed needs-review Every commit must be reviewed by at least two team members, labels Mar 5, 2019
@Patater
Copy link
Contributor

Patater commented Mar 5, 2019

This is failing CI checks and needs work to fix.

The standard C library header limits.h was only being included by check_config.h
so was being missing if users provided their own config.h that didn't include
check_config.h.

Signed-off-by: Simon Butcher <simon.butcher@arm.com>
Adds a ChangeLog entry for GitHub issue Mbed-TLS#1803.

Signed-off-by: Simon Butcher <simon.butcher@arm.com>
To ensure check_config.h is always included, even if users provide their own
config.h file, this adds inclusion of check_config.h to all source files.

Signed-off-by: Simon Butcher <simon.butcher@arm.com>
This removes inclusion of the check_config.h header from the config files
shipped with Mbed TLS. Inclusion is no longer needed as it's included now
in all the source code files.

Signed-off-by: Simon Butcher <simon.butcher@arm.com>
@simonbutcher simonbutcher dismissed dgreen-arm’s stale review May 19, 2020 17:57

Addressed Darryl's point.

@simonbutcher simonbutcher added needs-review Every commit must be reviewed by at least two team members, and removed needs-ci Needs to pass CI tests labels May 19, 2020
Copy link
Contributor

@dgreen-arm dgreen-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@mpg
Copy link
Contributor

mpg commented Mar 31, 2021

The 2.7 branch is no longer maintained, so I'm closing this PR.

@mpg mpg closed this Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug component-tls needs-review Every commit must be reviewed by at least two team members,
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants