aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/security/check_gcp_environment_linux_test.cc
Commit message (Collapse)AuthorAge
* Don't segfault when product name from BIOS is emptyGravatar Dan Rosart2018-07-03
| | | | Somehow some Dell servers we're trying to run a gRPC client on have an empty product name in the BIOS. When gRPC tries to creadte default credentials, it checks whether it's running on GCE by strcmp()ing the contents of /sys/class/dmi/id/product_name to some magic strings. When it reads that file, it gets only a newline; in trim() it skips over the newline in both directions, and since end < start it returns nullptr. This causes a segfault in the strcmp() call. Since a machine without a product name clearly isn't GCE, change it to return false instead.
* Include port_platform in gcp_environment tests.Gravatar Dan Rosart2018-06-27
| | | | | | | Both the Windows and Linux tests use platform-specific macros to determine whether they should execute, but they weren't including the file where those macros were defined, so they were always running the else case of that check, which meant they weren't testing anything.
* Add ALTS code to grpc/coreGravatar Yihua Zhang2018-03-08
|
* Revert "Add ALTS C stack to gRPC core"Gravatar Sree Kuchibhotla2018-03-07
|
* Add ALTS code to grpc/coreGravatar Yihua Zhang2018-03-06