Skip to content

Conversation

@larsewi
Copy link
Contributor

@larsewi larsewi commented Feb 11, 2026

Made LastSaw1() return bool indicating new host and notify enterprise on first auth.

Merge together with:

Made LastSaw1() return bool indicating new host and notify enterprise on
first auth.

Ticket: ENT-13699
Signed-off-by: Lars Erik Wik <[email protected]>
LastSaw1(conn->ipaddr, KeyPrintableHash(ConnectionInfoKey(conn->conn_info)),
LAST_SEEN_ROLE_ACCEPT);
bool is_new_host = LastSaw1(
conn->ipaddr,

Check notice

Code scanning / CodeQL

Pointer argument is dereferenced without checking for NULL Note

Parameter conn in ServerTLSSessionEstablish() is dereferenced without an explicit null-check
LAST_SEEN_ROLE_ACCEPT);
bool is_new_host = LastSaw1(
conn->ipaddr,
KeyPrintableHash(ConnectionInfoKey(conn->conn_info)),

Check notice

Code scanning / CodeQL

Pointer argument is dereferenced without checking for NULL Note

Parameter conn in ServerTLSSessionEstablish() is dereferenced without an explicit null-check
{
NotifyNewHostSeen(
KeyPrintableHash(
ConnectionInfoKey(conn->conn_info)));

Check notice

Code scanning / CodeQL

Pointer argument is dereferenced without checking for NULL Note

Parameter conn in ServerTLSSessionEstablish() is dereferenced without an explicit null-check
@larsewi
Copy link
Contributor Author

larsewi commented Feb 11, 2026

@cf-bottom Jenkins please :)

@cf-bottom
Copy link

cf-bottom commented Feb 11, 2026

(@craigcomstock had to rebuild due to some CI issues):

Build Status

Jenkins: https://ci.cfengine.com/job/pr-pipeline/13377/

Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-13377/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants