1. 13 Jul, 2019 3 commits
  2. 06 Jul, 2019 3 commits
  3. 29 Jun, 2019 1 commit
  4. 21 Jun, 2019 1 commit
  5. 20 Jun, 2019 1 commit
    • Robert Pluim's avatar
      Check that length of data returned by sysctl is non-zero · 04477ade
      Robert Pluim authored
      The length of the data returned by sysctl can be zero, which was not
      checked for.  This could cause crashes, e.g. when querying
      non-existent processes.  (Bug#36279)
      
      * src/sysdep.c (list_system_processes) [DARWIN_OS || __FreeBSD__]:
      (system_process_attributes) [__FreeBSD__]:
      (system_process_attributes) [DARWIN_OS]:
      * src/filelock.c (get_boot_time) [CTL_KERN && KERN_BOOTTIME]: Check
        for zero length data returned by sysctl.
      04477ade
  6. 10 Jun, 2019 3 commits
  7. 09 Jun, 2019 1 commit
  8. 07 Jun, 2019 1 commit
  9. 30 May, 2019 4 commits
  10. 25 May, 2019 1 commit
    • Eli Zaretskii's avatar
      Improve documentation of decoding into a unibyte buffer · 8f18d121
      Eli Zaretskii authored
      * doc/lispref/nonascii.texi (Explicit Encoding): Document what
      happens when DESTINATION of decoding is a unibyte buffer.
      
      * src/coding.c (Fdecode_coding_region)
      (Fdecode_coding_string): Document what happens if DESTINATION
      is a unibyte buffer.
      8f18d121
  11. 23 May, 2019 1 commit
  12. 20 May, 2019 1 commit
  13. 17 May, 2019 1 commit
  14. 14 May, 2019 2 commits
    • Paul Eggert's avatar
      Backport: fix broken build on m68k · cf545776
      Paul Eggert authored
      The GCC + valgrind fix caused the m68k build to fail (Bug#35711).
      Simplify string allocation a bit to make similar problems less
      likely in the future.
      * src/alloc.c (sdata, SDATA_NBYTES, SDATA_DATA) [GC_CHECK_STRING_BYTES]:
      Use the same implementation as with !GC_CHECK_STRING_BYTES,
      as the special case is no longer needed.
      (SDATA_ALIGN): New constant.
      (SDATA_SIZE): Remove this macro, replacing with ...
      (sdata_size): ... this new function.  All uses changed.
      Properly account for sizes and alignments even in the m68k case,
      and even if GC_CHECK_STRING_BYTES is not defined.
      cf545776
    • Noam Postavsky's avatar
      Handle GNUTLS_E_AGAIN in emacs_gnutls_read (Bug#34341) · 202ff53d
      Noam Postavsky authored
      Don't merge to master, this has already been fixed there by 2019-01-15
      "Fix unlikely races with GnuTLS, datagrams".
      * src/gnutls.c (emacs_gnutls_read): Similar to emacs_gnutls_write,
      when gnutls_record_recv returns GNUTLS_E_AGAIN set errno to EGAIN.
      202ff53d
  15. 09 May, 2019 1 commit
  16. 06 May, 2019 1 commit
  17. 28 Apr, 2019 2 commits
  18. 21 Apr, 2019 1 commit
  19. 19 Apr, 2019 1 commit
  20. 15 Apr, 2019 1 commit
    • Eli Zaretskii's avatar
      Fix the MSDOS build when running under CWSDPMI · 70ec3928
      Eli Zaretskii authored
      * src/msdos.c (the_only_tty_output): Define.
      * src/msdos.h (the_only_tty_output): Declare.
      * src/frame.c (make_terminal_frame) [MSDOS]:
      * src/dispnew.c (init_display) [MSDOS]: Set up
      f->output_data.tty pointer using the_only_tty_output, before
      dereferencing the pointer.  This prevents crashes with DPMI
      servers that provide NULL pointer protection.
      70ec3928
  21. 14 Apr, 2019 1 commit
  22. 11 Apr, 2019 2 commits
    • Eli Zaretskii's avatar
      Improve documentation of 'read-command' · 85829363
      Eli Zaretskii authored
      * src/minibuf.c (Fread_command): Document the return value
      when DEFAULT-VALUE is nil and the user enters nothing.
      * doc/lispref/minibuf.texi (High-Level Completion): Document
      the printed representation of a symbol whose name is empty.
      (Bug#3522)
      85829363
    • Eli Zaretskii's avatar
      Fix an outdated URL in a comment · b77723a5
      Eli Zaretskii authored
      * src/emacs.c: Fix reference to Cocoa CoreFoundation Release
      Notes.  (Bug#35225)
      b77723a5
  23. 08 Apr, 2019 1 commit
  24. 06 Apr, 2019 1 commit
    • Eli Zaretskii's avatar
      Improve documentation of set-window-start · a30a6c30
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Window Start and End):
      * src/window.c (Fset_window_start): Document that reliable
      setting of a window start position requires to adjust point to
      be visible.  (Bug#34038)
      a30a6c30
  25. 04 Apr, 2019 1 commit
  26. 13 Mar, 2019 1 commit
    • Martin Rudalics's avatar
      Document restrictions when setting window margins, fringes or scroll bars · bc75589b
      Martin Rudalics authored
      * src/window.c (Fset_window_margins, Fset_window_fringes)
      (Fset_window_scroll_bars): In doc-strings tell that a window
      must be large enough to accommodate fringes, sroll bars and
      margins of the desired size.
      * doc/lispref/display.texi (Fringe Size/Pos, Scroll Bars)
      (Display Margins): Tell that windows must be large enough to
      accommodate fringes, sroll bars and margins of the desired
      size.
      bc75589b
  27. 10 Mar, 2019 1 commit
  28. 09 Mar, 2019 1 commit