Skip to content
Snippets Groups Projects
  1. Jan 09, 2017
  2. Jan 06, 2017
  3. Dec 15, 2016
  4. Dec 14, 2016
  5. Oct 20, 2016
  6. Sep 13, 2016
  7. Sep 05, 2016
  8. Sep 04, 2016
    • Richard van der Hoff's avatar
      Fix megolm decryption of UTF-8 · 1d4c13c7
      Richard van der Hoff authored
      Repeat the fix from b10f90d for megolm messages.
      
      It turns out that the 'length' argument to 'Pointer_stringify' doesn't work if
      the input includes characters >= 128.
      
      Rather than try to figure out which methods can return UTF-8, and which always
      return plain ascii, replace all uses of Pointer_stringify with a 'length'
      argument with the version that expects a NULL-terminated input, and extend the
      buffer by a byte to allow space for a null-terminator.
      
      In the case of decrypt, we need to add the null ourself.
      
      Fixes https://github.com/vector-im/vector-web/issues/2078.
      1d4c13c7
  9. May 26, 2016
  10. May 25, 2016
Loading