1. 13 2月, 2010 1 次提交
  2. 12 2月, 2010 1 次提交
  3. 11 2月, 2010 12 次提交
  4. 09 2月, 2010 8 次提交
  5. 08 2月, 2010 1 次提交
    • R
      archive: simplify archive format guessing · fe12d8e8
      René Scharfe 提交于
      The code to guess an output archive's format consumed any --format
      options and built a new one.  Jonathan noticed that it does so in an
      unsafe way, risking to overflow the static buffer fmt_opt.
      
      Change the code to keep the existing --format options intact and to only
      add a new one if a format could be guessed based on the output file name.
      The new option is added as the first one, allowing the existing ones to
      overrule it, i.e. explicit --format options given on the command line win
      over format guesses, as before.
      
      To simplify the code further, format_from_name() is changed to return the
      full --format option, thus no potentially dangerous sprintf() calls are
      needed any more.
      Reported-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NRene Scharfe <rene.scharfe@lsrfire.ath.cx>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      fe12d8e8
  6. 06 2月, 2010 2 次提交
  7. 02 2月, 2010 1 次提交
  8. 01 2月, 2010 2 次提交
  9. 30 1月, 2010 2 次提交
  10. 29 1月, 2010 1 次提交
  11. 28 1月, 2010 2 次提交
  12. 27 1月, 2010 7 次提交