Revision 3c83b080e4dce42d0f48d28b03691ae1ac0dcde3 authored by Junio C Hamano on 14 March 2014, 21:25:44 UTC, committed by Junio C Hamano on 14 March 2014, 21:25:44 UTC
Tighten codepaths that parse timestamps in commit objects.

* jk/commit-dates-parsing-fix:
  show_ident_date: fix tz range check
  log: do not segfault on gmtime errors
  log: handle integer overflow in timestamps
  date: check date overflow against time_t
  fsck: report integer overflow in author timestamps
  t4212: test bogus timestamps with git-log
2 parent s b37f81b + 3f419d4
Raw File
levenshtein.h
#ifndef LEVENSHTEIN_H
#define LEVENSHTEIN_H

int levenshtein(const char *string1, const char *string2,
	int swap_penalty, int substitution_penalty,
	int insertion_penalty, int deletion_penalty);

#endif
back to top