| Summary: | =net-analyzer/bwmon-1.3-r2 stable request | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Paweł Hajdan, Jr. (RETIRED) <phajdan.jr> |
| Component: | [OLD] Keywording and Stabilization | Assignee: | Gentoo Netmon project <netmon> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | Keywords: | STABLEREQ |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://packages.gentoo.org/package/net-analyzer/bwmon?arches=linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
buffer overflow
build log emerge info backtrace |
||
|
Description
Paweł Hajdan, Jr. (RETIRED)
2012-11-03 08:25:35 UTC
Arch teams, please test and mark stable: =net-analyzer/bwmon-1.3-r1 Stable KEYWORDS : amd64 hppa sparc x86 amd64 stable I have added ppc arch to CC. Tested ppc: works fine here. I have found a problem on x86. If bwmon is compiled with -O2 optimization level, it crashes with a buffer overflow. It works with -O0, -O1, -O3 and -Os. But, with -O3 it has a weird behaviour... Created attachment 328396 [details]
buffer overflow
Can you get a stack trace? Created attachment 328400 [details]
build log
Created attachment 328402 [details]
emerge info
Created attachment 328410 [details]
backtrace
Overflow fixed, there was an uninitialized buffer being used. amd64 since you stabled a package that has a broken corner case (it's not restricted to x86, it just depends on whether the compiler is in the mood to optimize that call or not), you might want to stable -r2 in place of -r1. + 05 Nov 2012; Sergey Popov <pinkbyte@gentoo.org> bwmon-1.3-r2.ebuild: + Add comment about overflow patch, stable on amd64 wrt bug #441420 (In reply to comment #10) > Overflow fixed, there was an uninitialized buffer being used. > > amd64 since you stabled a package that has a broken corner case (it's not > restricted to x86, it just depends on whether the compiler is in the mood to > optimize that call or not), you might want to stable -r2 in place of -r1. I compiled with -O2 and there was not problem at runtime :/ As I said it depends on the compiler's mood. Stable for HPPA. stable ppc Builds and runs fine on x86. Please mark stable for x86. Stable for SPARC. x86 stable. Last arch, closing |