]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/banned-function'
authorJunio C Hamano <gitster@pobox.com>
Wed, 15 Aug 2018 22:08:26 +0000 (15:08 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Aug 2018 22:08:26 +0000 (15:08 -0700)
commite28daf222f51f137d9038a58812f2a89f414781e
tree3a6f81a48618d6292a3e60d9f091c17d4d778af6
parente4095da40eef81f853bbeedf44d7f344bf682232
parente488b7aba743d23b830d239dcc33d9ca0745a9ad
Merge branch 'jk/banned-function'

It is too easy to misuse system API functions such as strcat();
these selected functions are now forbidden in this codebase and
will cause a compilation failure.

* jk/banned-function:
  banned.h: mark strncpy() as banned
  banned.h: mark sprintf() as banned
  banned.h: mark strcat() as banned
  automatically ban strcpy()