Commit Graph

11 Commits

Author SHA1 Message Date
Luke (GuangHui) Zhang a57063f7a2
fix: buffer overrun in the gRPC sample project (#3304)
Building the sample on Windows, the gRPC sample server/client app fails to function correctly. The propagated trace context is corrupted, containing garbage characters after the trace parent string.

The string buffer from gRPC cannot be safely treated as a null-terminated C-string. To ensure safe copying, we must use its length property instead.
2025-03-21 00:52:50 +01:00
Marc Alff 5bc053e522
[SDK] Support OTEL_SDK_DISABLED environment variable (#3245) 2025-02-05 21:42:51 +01:00
Alex E. 2d80c18304
[Code health] Perform cppcheck cleanup (#3150) 2024-12-07 00:34:19 +01:00
Marc Alff 8b613188a3
[SDK] TracerProvider should own TracerContext, not share it (#2221) 2023-07-08 16:07:38 +02:00
Cengizhan Pasaoglu cfcda5728e
[SDK] Header files cleanup, use forward declarations (#2182) 2023-06-21 00:11:31 +02:00
Marc Alff a343da043e
Fix #1867 Orderly shutdown in examples (#1868) 2023-01-04 06:33:40 -08:00
Marc Alff f29703b21c
Fixes #249 (#1677)
Fixed many remaining compiler warnings.
2022-10-13 20:56:17 +02:00
Dennis ed9f583c47
[gRPC]: Fix out-of-bounds access of string_view in GrpcClientCarrier in the example (#1619) 2022-09-19 09:43:35 -07:00
Marc Alff e708de5565
Fix trace sdk builder 1393 (#1471) 2022-07-15 12:52:12 -07:00
Paurush Garg 9772156789
fix: issue 368- consistent namespace scope resolution (#1008) 2021-11-15 19:53:34 -08:00
Lucas 0f6199f9f7
Simple instrumented gRPC example (#729) 2021-06-03 17:09:52 +05:30