Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 22 April 2025 starting at approximately 9am PDT. It is expected to take around 30 minutes and there will be several periods of downtime throughout the maintenance. Please address any comments, concerns, or questions to the helpdesk. This maintenance will be upgrading the GitLab database in order to be ready for the migration.
corrupted data blocks could allow buffer overflows if things like the model/dcu count was bad or lengths were bad.
Edited
Designs
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related or that one is blocking others.
Learn more.
Activity
Sort or filter
Newest first
Oldest first
Show all activity
Show comments only
Show history only
Jonathan Hankschanged title from the daqd producer needs to do better parameter/input handling when it injests data from the shared memory buffer to the daqd producer and some of the transmit code needs to do better parameter/input handling
changed title from the daqd producer needs to do better parameter/input handling when it injests data from the shared memory buffer to the daqd producer and some of the transmit code needs to do better parameter/input handling
Jonathan Hankschanged the descriptionCompare with previous version
Starting at producer_shmem.cc:351, a number of shared memory values are used for control without being checked.
Consider a sanity check function to be applied to the block header before using each block, and another function to be applied to each dcu header individually.
I have updated the shmem receiver code to have more sanity checks, checking for a max cycle count, ensuring the cur cycle is in bounds, and checking for data overflow.
That bit of code deals with a 'concentrated' bit of data, so it is the combined data at this point, not direct user input. The place to look at the cycle for validity is in recv_buffer.hh in the ingest method.
I've updated that method to through out out of bounds cycles and messages with invalid dcu counts.