]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Yet more UBSAN issues
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 27 Mar 2025 14:41:58 +0000 (08:41 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 27 Mar 2025 14:41:58 +0000 (08:41 -0600)
src/lib/util/event.c

index 6d893e0eb092146518c10584478bac287c86c634..e4a2c3bb589a2bcda1b3b19ff8679cff574e1eb3 100644 (file)
@@ -1356,7 +1356,7 @@ static int _event_pid_free(fr_event_pid_t *ev)
 /** Evaluate a EVFILT_PROC event
  *
  */
-CC_NO_UBSAN(function) /* UBSAN: false positive - Public/private version of connection_t trips -fsanitize=function */
+CC_NO_UBSAN(function) /* UBSAN: false positive - Public/private version of fr_event_list_t trips -fsanitize=function */
 static inline CC_HINT(always_inline)
 void event_pid_eval(fr_event_list_t *el, struct kevent *kev)
 {
@@ -2193,6 +2193,7 @@ void event_callback(fr_event_list_t *el, fr_event_fd_t *ef, int *filter, int fla
  *
  * @param[in] el containing events to service.
  */
+CC_NO_UBSAN(function) /* UBSAN: false positive - Public/private version of fr_event_list_t trips -fsanitize=function */
 void fr_event_service(fr_event_list_t *el)
 {
        fr_timer_list_t *etl = el->pub.tl;