Package: log4cpp / 1.1.1-3
Metadata
| Package | Version | Patches format |
|---|---|---|
| log4cpp | 1.1.1-3 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| 02_doc_install_path.diff | (download) |
doc/Makefile.am |
18 9 + 9 - 0 ! |
--- |
| 03_aclocal_automake.diff | (download) |
Makefile.am |
2 2 + 0 - 0 ! |
--- |
| 04_gcc43.diff | (download) |
src/BasicLayout.cpp |
2 2 + 0 - 0 ! |
--- |
| 05_remove_log4cpp_cflags_from_pkgconfig_file.diff | (download) |
log4cpp.pc.in |
2 1 + 1 - 0 ! |
--- |
| fix abs call | (download) |
src/PatternLayout.cpp |
2 1 + 1 - 0 ! |
--- |
| 0001 PThreads Use asprintf to ensure the buffer is always.patch | (download) |
src/PThreads.cpp |
11 8 + 3 - 0 ! |
[patch] pthreads: use asprintf to ensure the buffer is always large enough The temporary buffer in PThreads::getThreadId is only 16 bytes (ie can store up to about 2^49 as a decimal string), but pthread_self is an unsigned long, and on sparc64 a typicaly value is 0xfff8000100ca9910, which overflows the buffer (18444492278204111120 is 21 digits). The simple "solution" would of course be to bump up the buffer size (and use snprintf rather than the abomination that is sprintf...), but it seems nicer to let asprintf allocate the right size. The attached patch switched to asprintf. |
