Changeset ba34ed9c in rtems


Ignore:
Timestamp:
Mar 11, 2019, 6:12:38 AM (6 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
0a154d5
Parents:
529b5868
git-author:
Sebastian Huber <sebastian.huber@…> (03/11/19 06:12:38)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/11/19 06:13:05)
Message:

bsp/atsam: Fix use after free

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/arm/atsam/spi/atsam_spi_bus.c

    r529b5868 rba34ed9c  
    448448
    449449  rtems_cache_coherent_free(bus->dma_bufs);
    450 
     450  rtems_binary_semaphore_destroy(&bus->sem);
    451451  spi_bus_destroy_and_free(&bus->base);
    452   rtems_binary_semaphore_destroy(&bus->sem);
    453452}
    454453
Note: See TracChangeset for help on using the changeset viewer.