varnishtop segfaults
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
varnish (Ubuntu) |
Fix Released
|
Undecided
|
Artur Rona | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Fix Released
|
Undecided
|
Unassigned | ||
Natty |
Fix Released
|
Undecided
|
Artur Rona |
Bug Description
IMPACT:
Size allocation of array in varnishtop causes segfault crash
FIX:
Better allocation of array size
- unsigned char rec[4];
+ unsigned char rec[SHMLOG_DATA-1];
PATCH:
Debdiffs for lucid and maverick attached at end of thread
TEST:
Run varnishtop
$ varnishtop
list length 0Segmentation fault
REGRESSION:
Patch is specific to varnishtop, which crashes on start, but should not affect any of the other package components so regression potential should be low
********** ORIGINAL MESSAGE *********
Binary package hint: varnish
varnishtop segfaults on 32bit 10.04. My Varnish package version is 2.1.0-2.
Example:
# varnishtop
list length 0Segmentation fault
#
Changed in varnish (Ubuntu): | |
status: | New → Confirmed |
tags: |
added: verification-done removed: verification-needed |
summary: |
- varnishtop segfault + varnishtop segfaults |
varnish (2.1.3-8ubuntu1) natty; urgency=low
* debian/ patches/ varnishtop- arrayalloc- fix.diff:
- Fix array size allocation. Fixed upstream in version 2.1.4 (LP: #708939)
https:/ /edge.launchpad .net/~sevenmach ines/+archive/ release+ 1/+packages