1. 14 Sep, 2017 1 commit
  2. 23 Aug, 2017 2 commits
  3. 22 Aug, 2017 1 commit
  4. 02 Aug, 2017 4 commits
  5. 09 Jun, 2017 1 commit
    • Florent Rougon's avatar
      fc-lang: gracefully handle the case where the last language initial is < 'z' · 02161ef2
      Florent Rougon authored
      FcLangSetIndex() contains code like this:
      
        low = fcLangCharSetRanges[firstChar - 'a'].begin;
        high = fcLangCharSetRanges[firstChar - 'a'].end;
        /* no matches */
        if (low > high)
      
      The assumption behind this test didn't hold before this commit, unless
      there is at least one language name that starts with 'z' (which is
      thankfully the case in our world :-). If the last language name in
      lexicographic order starts for instance with 'x', this change ensures
      that fcLangCharSetRanges['y' - 'a'].begin and
           fcLangCharSetRanges['z' - 'a'].begin
      are equal to NUM_LANG_CHAR_SET, in order to make the above assumption
      correct in all cases.
      02161ef2
  6. 12 Jun, 2014 1 commit
  7. 22 Apr, 2014 1 commit
  8. 18 Mar, 2014 1 commit
  9. 17 Jan, 2014 1 commit
  10. 05 Nov, 2013 1 commit
    • Alan Coopersmith's avatar
      Leave room for null terminators in arrays · cb72901d
      Alan Coopersmith authored
      Code currently returns a fatal error if it tries to add more entries
      than the array has room for, but it wasn't checking to make sure
      the final null terminator entry would fit.
      
      Reported by parfait 1.3:
      Error: Buffer overrun
         Buffer overflow (CWE 120): In array dereference of files[i] with index i
            Array size is 256 elements (of 4 bytes each), index >= 0 and index <= 256
              at line 250 of fc-glyphname/fc-glyphname.c in function 'main'.
      Error: Buffer overrun
         Buffer overflow (CWE 120): In array dereference of entries[i] with index i
            Array size is 1024 elements (of 8 bytes each), index >= 0 and index <= 1024
              at line 298 of fc-lang/fc-lang.c in function 'main'.
      Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      cb72901d
  11. 29 Aug, 2013 1 commit
  12. 27 Aug, 2013 1 commit
  13. 03 Jan, 2013 1 commit
  14. 02 Jan, 2013 2 commits
    • Behdad Esfahbod's avatar
      Use CC_FOR_BUILD to generate source files · 558b3c65
      Behdad Esfahbod authored
      Previously we were failing if CROSS_COMPILING and the generated headers
      were not present.  It works just fine now.
      
      One caveat: the fix is not fully correct since config.h is being
      included in the files built with CC_FOR_BUILD, but config.h has config
      for the host system, not the build system.  Should be fine though.
      558b3c65
    • Behdad Esfahbod's avatar
      Switch .gitignore to git.mk · ed41b237
      Behdad Esfahbod authored
      ed41b237
  15. 31 Dec, 2012 1 commit
  16. 30 Nov, 2012 1 commit
  17. 29 Nov, 2012 1 commit
  18. 25 Aug, 2012 1 commit
  19. 08 Jun, 2012 1 commit
  20. 30 Mar, 2012 1 commit
  21. 16 Mar, 2012 2 commits
  22. 10 Mar, 2012 2 commits
  23. 09 Mar, 2012 1 commit
  24. 24 Feb, 2012 2 commits
  25. 23 Feb, 2012 3 commits
  26. 21 Feb, 2012 5 commits