1. 29 Nis, 2019 2 kayıt (commit)
  2. 31 Mar, 2019 2 kayıt (commit)
  3. 15 Mar, 2019 1 kayıt (commit)
  4. 11 Şub, 2019 1 kayıt (commit)
  5. 10 Şub, 2019 1 kayıt (commit)
  6. 06 Şub, 2019 1 kayıt (commit)
  7. 05 Ara, 2018 1 kayıt (commit)
  8. 01 Ara, 2018 1 kayıt (commit)
  9. 30 Kas, 2018 1 kayıt (commit)
  10. 29 Kas, 2018 1 kayıt (commit)
  11. 26 Kas, 2018 1 kayıt (commit)
  12. 22 Kas, 2018 2 kayıt (commit)
  13. 16 Kas, 2018 1 kayıt (commit)
  14. 08 Kas, 2018 1 kayıt (commit)
    • Stephan Bergmann's avatar
      Silence GCC 8.2.1 -Werror=format-truncation= · f0f1ae6e
      Stephan Bergmann yazdı
      After 09841225 "soltools: fix
      -Werror=format-overflow" changed the sprintf into an snprintf, at least the
      Fedora 29 "gcc (GCC) 8.2.1 20181011 (Red Hat 8.2.1-4)" now complains about
      
      > [C  ] soltools/mkdepend/include.c
      > soltools/mkdepend/include.c: In function ‘remove_dotdot.constprop’:
      > soltools/mkdepend/include.c:246:42: error: ‘snprintf’ output may be truncated before the last format character [-Werror=format-truncation=]
      >      int n = snprintf(buf, BUFSIZ, "%s%s%s", dir, *dir ? "/" : "", component);
      >                                           ^
      > soltools/mkdepend/include.c:246:13: note: ‘snprintf’ output 1 or more bytes (assuming 8193) into a destination of size 8192
      >      int n = snprintf(buf, BUFSIZ, "%s%s%s", dir, *dir ? "/" : "", component);
      >              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      This all looks not very helpful, lets limit the silencing to just GCC 8.2 (in
      the hopes that later versions of GCC won't emit that warning any more, anyway).
      
      Change-Id: I006964e4f32bbb52b6b90288e2d623797b8d38ea
      Reviewed-on: https://gerrit.libreoffice.org/63068
      Tested-by: Jenkins
      Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
      f0f1ae6e
  15. 07 Kas, 2018 1 kayıt (commit)
  16. 22 Eki, 2018 1 kayıt (commit)
  17. 18 Eki, 2018 1 kayıt (commit)
  18. 09 Eki, 2018 1 kayıt (commit)
  19. 05 Eki, 2018 1 kayıt (commit)
  20. 04 Eki, 2018 1 kayıt (commit)
  21. 24 Eyl, 2018 1 kayıt (commit)
  22. 18 Eyl, 2018 1 kayıt (commit)
  23. 17 Eyl, 2018 1 kayıt (commit)
  24. 16 Eyl, 2018 1 kayıt (commit)
  25. 27 Tem, 2018 1 kayıt (commit)
  26. 27 May, 2018 2 kayıt (commit)
  27. 07 Mar, 2018 1 kayıt (commit)
  28. 25 Ock, 2018 1 kayıt (commit)
  29. 12 Ock, 2018 1 kayıt (commit)
  30. 07 Ara, 2017 1 kayıt (commit)
  31. 24 Eki, 2017 1 kayıt (commit)
  32. 25 Eyl, 2017 1 kayıt (commit)
  33. 17 Eyl, 2017 1 kayıt (commit)
  34. 29 Agu, 2017 1 kayıt (commit)
  35. 21 Agu, 2017 1 kayıt (commit)
    • Stephan Bergmann's avatar
      Make cpp cope with long source lines · dac11d8d
      Stephan Bergmann yazdı
      under --with-lang=ALL it had started to crash during e.g.
      
      > LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}".../instdir/program:.../instdir/program" .../workdir/LinkTarget/Executable/cpp -+ -P -DWITH_POSTGRESQL_SDBC -DWITH_FIREBIRD_SDBC -DWITHOUT_EXTENSION_MEDIAWIKI -DWITHOUT_SCRIPTING_BEANSHELL -DWITHOUT_SCRIPTING_JAVASCRIPT -DWITH_HELPPACK_INTEGRATION -DWITH_EXTENSION_INTEGRATION -DENABLE_EXTENSION_UPDATE -DX86_64 -DLINUX -D_PTHREADS -DUNIX -DUNX -DCOMID=gcc3 -D_gcc3 -DWITH_LPSOLVER -I.../scp2/inc -I.../workdir -I.../config_host -I.../workdir/CustomTarget/scp2/macros -I.../workdir/ScpTemplateTarget/scp2/source/templates .../scp2/source/calc/file_calc.scp > .../workdir/ScpPreprocessTarget/scp2/source/calc/file_calc.pre
      
      because of
      
      > Syscall param read(buf) points to unaddressable byte(s)
      >    at 0x4F31A80: __read_nocancel (syscall-template.S:84)
      >    by 0x404F98: fillbuf (_lex.c:631)
      >    by 0x404CCF: gettokens (_lex.c:479)
      >    by 0x400F0A: process (_cpp.c:77)
      >    by 0x400E80: main (_cpp.c:60)
      >  Address 0x5278494 is 0 bytes after a block of size 32,772 alloc'd
      >    at 0x4C2DB9D: malloc (vg_replace_malloc.c:299)
      >    by 0x402034: domalloc (_cpp.c:321)
      >    by 0x40554F: setsource (_lex.c:679)
      >    by 0x403E38: doinclude (_include.c:130)
      >    by 0x401F9D: control (_cpp.c:297)
      >    by 0x401002: process (_cpp.c:101)
      >    by 0x400E80: main (_cpp.c:60)
      
      There appears to be no other check that fillbuf doesn't overflow the Source's
      input buffer, other than gettokens checking that the buffer isn't more than
      three quarters full ("if (ip >= s->inb + (3 * INS / 4)) ...").  That smells like
      cpp assumes input lines to be shorter than some maximum number of characters
      (like the C99 standard setting a minimum limit of "4095 characters in logical
      source lines"), and
      
      > #define README_TXT_ALL_LANG(key, name, ext) \
      > 	key (af) = READMETXTFILENAME(name,_af,ext); \
      > 	Name (am) = CONFIGLANGFILENAME(name,am,ext); \
      > 	Name (ar) = CONFIGLANGFILENAME(name,ar,ext); \
      [...]
      > 	Name (zh-CN) = CONFIGLANGFILENAME(name,zh-CN,ext); \
      > 	Name (zh-TW) = CONFIGLANGFILENAME(name,zh-TW,ext); \
      > 	key (zu) = READMETXTFILENAME(name,_zu,ext)
      
      in workdir/CustomTarget/scp2/macros/langmacros.inc (which appears to be the
      culprit here) exceeding that limit under --with-lang=ALL.
      
      So just bump the input buffer size.
      
      Change-Id: I5d863050fb772dc7e691a604009ff8702dc718e3
      dac11d8d
  36. 14 Agu, 2017 1 kayıt (commit)