openwrt/toolchain/musl/patches
Hauke Mehrtens be5fcf9fd7 musl: Add format attribute to some function declarations
GCC and Clang are able to check the format arguments given to a
function and warn the user if there is a error in the format arguments
or if there is a potential uncontrolled format string security problem
in the code. GCC does this automatically for some functions like
printf(), but it is also possible to annotate other functions in a way
that it will check them too. This feature is used by glibc for many
functions. This patch adds the attribute to the some functions of musl
expect for these functions where gcc automatically adds it.

GCC automatically adds checks for these functions: printf, fprintf,
sprintf, scanf, fscanf, sscanf, strftime, vprintf, vfprintf and
vsprintf.

The documentation from gcc is here:
https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html

The documentation from Clang is here:
http://clang.llvm.org/docs/AttributeReference.html#format-gnu-format

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48467
2016-01-24 00:05:14 +00:00
..
001-eliminate-protected-visibility-data-in-libc.so-with-.patch musl: backport a fix that caused the wrong relocations to be emitted on some architectures 2016-01-21 19:00:51 +00:00
010-Add-PowerPC-soft-float-support.patch musl: update to version 1.1.11 2015-09-02 15:44:17 +00:00
020-upstream_open_memstream.patch musl: add upstream patch for open_[w]memstream 2015-11-02 10:16:40 +00:00
030-mips-add-vdso-support.patch musl: mips: add vdso support 2016-01-23 23:48:55 +00:00
040-Add-format-attribute-to-some-function-declarations.patch musl: Add format attribute to some function declarations 2016-01-24 00:05:14 +00:00
100-add_glob_onlydir.patch musl: update to version 1.1.1 2014-05-21 14:09:58 +00:00
110-read_timezone_from_fs.patch musl: update to latest git version 2015-07-24 15:35:55 +00:00
200-add_libssp_nonshared.patch musl: update to version 1.1.11 2015-09-02 15:44:17 +00:00
300-relative.patch musl: update to version 1.1.11 2015-09-02 15:44:17 +00:00
900-iconv_size_hack.patch musl: update to version 1.1.10+git 2015-06-16 11:55:23 +00:00
901-crypt_size_hack.patch musl: re-enable des crypto support, fixes pppd MPPE issues 2015-10-01 19:50:06 +00:00
920-getifaddrs_ptp_fix.patch musl: fix handling of point-to-point interfaces in getifaddrs() 2015-11-16 18:15:00 +00:00