Skip to content
  • Ondřej Zajíček's avatar
    509d0f3b
    BFD: Fix crash related to reconfiguration and passwords · 509d0f3b
    Ondřej Zajíček authored
    Any change in BFD iface configuration should trigger session
    reconfiguration, as config is copied into the bfd_session structure
    and not just accessed through the bfd_iface structure.
    
    As bfd_session now contains a pointer to the password list allocated
    from the configuration, forgetting to update the bfd_session causes
    use-after-free.
    
    Thanks to Lexi Winter for the bugreport.
    509d0f3b
    BFD: Fix crash related to reconfiguration and passwords
    Ondřej Zajíček authored
    Any change in BFD iface configuration should trigger session
    reconfiguration, as config is copied into the bfd_session structure
    and not just accessed through the bfd_iface structure.
    
    As bfd_session now contains a pointer to the password list allocated
    from the configuration, forgetting to update the bfd_session causes
    use-after-free.
    
    Thanks to Lexi Winter for the bugreport.
Loading