diff options
| author | Junio C Hamano <gitster@pobox.com> | 2019-01-18 13:49:53 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-01-18 13:49:53 -0800 |
| commit | 81bf66b760b8bbb3673e0f0cbc559671c049fc78 (patch) | |
| tree | a87c3b143c206c1aa3d919018b1add214771ecea | |
| parent | d01a3faa507cc06bd50889487ebab59f81702aa1 (diff) | |
| parent | ace5707a803eda0f1dde3d776dc3729d3bc7759a (diff) | |
| download | git-81bf66b760b8bbb3673e0f0cbc559671c049fc78.tar.xz | |
Merge branch 'ew/ban-strncat'
The "strncat()" function is now among the banned functions.
* ew/ban-strncat:
banned.h: mark strncat() as banned
| -rw-r--r-- | banned.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -16,6 +16,8 @@ #define strcat(x,y) BANNED(strcat) #undef strncpy #define strncpy(x,y,n) BANNED(strncpy) +#undef strncat +#define strncat(x,y,n) BANNED(strncat) #undef sprintf #undef vsprintf |
