]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Pacify UBSAN for rlm_tacacs conn_init
authorNick Porter <nick@portercomputing.co.uk>
Thu, 24 Jul 2025 10:55:22 +0000 (11:55 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Thu, 24 Jul 2025 11:33:38 +0000 (12:33 +0100)
src/modules/rlm_tacacs/rlm_tacacs_tcp.c

index 7cd5acd77e0e6818f4054893c74f29041df21ddb..f1c9642fa9e60463a5164cf7c56a3cec546861c2 100644 (file)
@@ -272,6 +272,7 @@ static int _tcp_handle_free(tcp_handle_t *h)
  * @param[in] conn     to initialise.
  * @param[in] uctx     A #tcp_thread_t
  */
+CC_NO_UBSAN(function) /* UBSAN: false positive - public vs private connection_t trips --fsanitize=function*/
 static connection_state_t conn_init(void **h_out, connection_t *conn, void *uctx)
 {
        int                     fd;