Coder Social home page Coder Social logo

aquenos / chimeratk-controlsystemadapter-epics Goto Github PK

View Code? Open in Web Editor NEW
0.0 5.0 3.0 292 KB

Device support for integrating ChimeraTK-based devices into EPICS-based control-systems.

License: GNU Lesser General Public License v3.0

Makefile 1.04% C++ 98.96%
epics epics-controls

chimeratk-controlsystemadapter-epics's People

Contributors

mhier avatar smarsching avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

chimeratk-controlsystemadapter-epics's Issues

Create tag for 96256ab

I just created a tag of the ChimeraTK EPICS IOC adapter which uses commit 96256ab of the device support adapter.
Can you please tag this version so the tag of the IOC adapter is referring to a tag of this project?

ControlSystemAdapterSharedPVSupport::read might accidentally use null value

@mhier reported a bug in ControlSystemAdapterSharedPVSupport::read:

When the underlying ProcessArray supports AccessMode::wait_for_new_data, the lastValue (and lastVersionNumber) are used. This is problematic, because lastValue might not have been initialized yet and might thus be null.

This will lead to a null-pointer dereference if the calling code expects the returned tuple to always contain a non-null value (and accoding the the original report, the EPICS IOC does indeed crash).

For a ProcessArray that does not support AccessMode::wait_for_new_data, this might also happen if readLatest returns false, though I am not entirely sure yet whether this can ever happen.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.