• Show log

    Commit

  • Hash : 43aad966
    Author : Sam Lantinga
    Date : 2020-12-08T19:03:50

    Fixed bug 5222 - Crash when running with -DHIDAPI=ON
    
    Mathieu Eyraud
    
    SDL dynamically loads libusb but does not check the return value of 'SDL_LoadFunction'.
    
    Also libusb is loaded and initialized several time because 'SDL_hidapi_wasinit' is never set to true.
    
    I made a patch if you want to test:
      - check that 'hid_init' is called once and only once,
      - check return value of 'hid_init',
      - check return value of 'SDL_LoadFunction',
      - check return value of 'SDL_malloc',
      - add some debug logging.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w thodg_l www_kmx_io thodg
    Tags