diff options
| author | atarasov5 <[email protected]> | 2025-05-16 14:04:47 +0300 |
|---|---|---|
| committer | atarasov5 <[email protected]> | 2025-05-16 14:33:22 +0300 |
| commit | edf3984195d81a1f0cddd1feb785d151f1a5d113 (patch) | |
| tree | c69fb1967277f1e39291999b2e2175c6032fc304 /yql/essentials/udfs/common | |
| parent | 035528736f4e0a997ad6b954b904140a118b5714 (diff) | |
YQL-19940: Fix wrong string access
YQL-19940: Fix wrong string access
String refs are not null terminated.
commit_hash:00b0838281af365caee1efeef5a6f7a7df096bc4
Diffstat (limited to 'yql/essentials/udfs/common')
| -rw-r--r-- | yql/essentials/udfs/common/top/top_udf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yql/essentials/udfs/common/top/top_udf.cpp b/yql/essentials/udfs/common/top/top_udf.cpp index 766067dda5d..7d722ea2ea5 100644 --- a/yql/essentials/udfs/common/top/top_udf.cpp +++ b/yql/essentials/udfs/common/top/top_udf.cpp @@ -792,7 +792,7 @@ public: builder.UserType(userType); if (typeConfig.Size() != 2) { - builder.SetError(TStringBuilder() << "Invalid type config: " << typeConfig.Data()); + builder.SetError(TStringBuilder() << "Invalid type config: " << TStringBuf(typeConfig)); return; } |
