Package: libgc / 1:7.1-9.1

Metadata

Package Version Patches format
libgc 1:7.1-9.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01 catch all linux.diff | (download)

configure.ac | 6 1 + 5 - 0 !
1 file changed, 1 insertion(+), 5 deletions(-)

---
02 manpage.diff | (download)

doc/gc.man | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

---
03 add avr32 support.diff | (download)

include/private/gcconfig.h | 17 17 + 0 - 0 !
include/private/thread_local_alloc.h | 2 1 + 1 - 0 !
libatomic_ops-1.2/src/atomic_ops.h | 3 3 + 0 - 0 !
libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/avr32.h | 44 44 + 0 - 0 !
mach_dep.c | 2 1 + 1 - 0 !
5 files changed, 66 insertions(+), 2 deletions(-)

---
04 fix sparc ftbfs.diff | (download)

configure.ac | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

---
enable threads.diff | (download)

include/gc_config_macros.h | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

---
06 m68k no getcontext.diff | (download)

mach_dep.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
CVE 2012 2673 calloc 1.diff | (download)

malloc.c | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 [patch] fix calloc() overflow

* malloc.c (calloc): Check multiplication overflow in calloc(),
assuming REDIRECT_MALLOC.

CVE 2012 2673 calloc 2.diff | (download)

malloc.c | 10 7 + 3 - 0 !
1 file changed, 7 insertions(+), 3 deletions(-)

 [patch] fix calloc-related code to prevent size_max redefinition in
 sys headers

* malloc.c: Include limits.h for SIZE_MAX.
* malloc.c (SIZE_MAX, calloc): Define GC_SIZE_MAX instead of SIZE_MAX.

CVE 2012 2673 calloc 3.diff | (download)

malloc.c | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 [patch] speedup calloc size overflow check by preventing division if
 small values

* malloc.c (GC_SQRT_SIZE_MAX): New macro.
* malloc.c (calloc): Add fast initial size overflow check to avoid
integer division for reasonably small values passed.

CVE 2012 2673 malloc.diff | (download)

malloc.c | 3 3 + 0 - 0 !
mallocx.c | 3 3 + 0 - 0 !
2 files changed, 6 insertions(+)

 [patch] fix allocation size overflows due to rounding.

* malloc.c (GC_generic_malloc): Check if the allocation size is
rounded to a smaller value.
* mallocx.c (GC_generic_malloc_ignore_off_page): Likewise.