maskit opened a new issue, #10205:
URL: https://github.com/apache/trafficserver/issues/10205
```
386 if (ts_lua_hex_to_bin(key_bin, key, klen) == NULL) {
387 TSfree(key_bin);
388 return luaL_error(L, "hex to binary conversion failed");
389 }
390 key_bin_len = klen / 2;
391
392 HMAC(EVP_sha1(), key_bin, key_bin_len, src, slen, sha_buf,
&output_length);
393
CID 1508976 (#1 of 1): Uninitialized scalar variable (UNINIT)
9. uninit_use_in_call: Using uninitialized element of array sha_buf when
calling ts_lua_hex_dump. [[show
details](https://scan6.scan.coverity.com/eventId=34625621-13&modelId=34625621-0&fileInstanceId=162996654&filePath=%2Fplugins%2Flua%2Fts_lua_string.c&fileStart=23&fileEnd=33)]
394 ts_lua_hex_dump(hex_buf, sha_buf, sizeof(sha_buf));
395 lua_pushlstring(L, (char *)hex_buf, sizeof(hex_buf));
396
397 TSfree(key_bin);
398 return 1;
399}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]