• Adam Wujek's avatar
    userspace/wrsw_hal: fix reading dotconfig · 2fa02f9f
    Adam Wujek authored
    Null is returned when there is unsuccessful read from dotconfig
    (function libwr_cfg_get). Function atoi rely on valid string passed as
    parameter. If dotconfig parameter does not exist, atoi will crash wrsw_hal.
    Added checking whether valid string is returned from libwr_cfg_get.
    Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
    2fa02f9f
Name
Last commit
Last update
..
Makefile Loading commit data...
driver_stuff.h Loading commit data...
hal_exports.c Loading commit data...
hal_main.c Loading commit data...
hal_ports.c Loading commit data...
hal_timing.c Loading commit data...
timeout.h Loading commit data...
wrsw_hal.conf Loading commit data...
wrsw_hal.h Loading commit data...