Skip to content
  • Bastien Nocera's avatar
    lib: Fix possible dereference in fpi_ssm_next_state() · 6d47c443
    Bastien Nocera authored
    libfprint/fpi-ssm.c:244:9: warning: Access to field 'completed' results in a dereference of a null pointer (loaded from variable 'machine')
            BUG_ON(machine->completed);
                   ^~~~~~~~~~~~~~~~~~
    libfprint/fpi-log.h:84:6: note: expanded from macro 'BUG_ON'
            if (condition) {                        \
                ^~~~~~~~~
    6d47c443