Skip to content
  • Philip Withnall's avatar
    agent: Limit printed length of uname and password in debug output · 23cd6e7a
    Philip Withnall authored and Olivier Crête's avatar Olivier Crête committed
    At this point in the code, neither the username nor password are
    nul-terminated, so printing them in the debug output as nul-terminated
    strings can easily result in rubbish being printed after them.
    
    Fix this by specifying the string length in the printf() format string.
    Finally my terminal will no longer ask me to install N’Ko fonts when
    running the libnice tests.
    23cd6e7a