Joel Sherrill commented on a discussion on cpukit/posix/src/lio_listio.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/188#note_111701 > + listcbp->lio_notification.task_id = rtems_task_self(); > + > + } else if ( mode == LIO_NOWAIT ) { > + > + if ( sig == NULL ) { > + listcbp->notification_type = AIO_LIO_NO_NOTIFY; > + } else { > + if ( rtems_aio_check_sigevent( sig ) == 0 ) { > + free( listcbp ); > + rtems_set_errno_and_return_minus_one( EINVAL ); > + } > + > + listcbp->notification_type = AIO_LIO_SIGEV; > + listcbp->lio_notification.sigp = sig; > + } > + } OK. Make sure you have test cases for bad values and then mark this resolved. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/188#note_111701 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
