Skip to content
Snippets Groups Projects
  1. Jul 11, 2016
  2. Jul 06, 2016
    • Richard van der Hoff's avatar
      JS: make sure returned strings are null-terminated · 939aa747
      Richard van der Hoff authored
      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/1719.
      939aa747
  3. May 26, 2016
  4. May 25, 2016
  5. May 20, 2016
  6. May 16, 2016
  7. Apr 26, 2016
  8. Dec 02, 2015
  9. Nov 01, 2015
  10. Aug 04, 2015
  11. Jul 21, 2015
  12. Jul 20, 2015
  13. Jul 17, 2015
  14. Jul 16, 2015
  15. Jul 14, 2015
  16. Jul 10, 2015
  17. Jul 09, 2015
  18. Jul 08, 2015
  19. Jun 26, 2015
  20. Jun 24, 2015
  21. Jun 23, 2015
Loading