Bug 139342
Summary: | corrupt stack in stock libgtop2 supplied with fc3 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | rudolf kastl <che666> |
Component: | libgtop2 | Assignee: | Havoc Pennington <hp> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | CC: | juzman |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-11-15 15:46:56 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
rudolf kastl
2004-11-15 14:00:39 UTC
version used: libgtop2-2.8.0-1 #include <ifaddrs.h> #include <assert.h> #include <stdio.h> int main() { struct ifaddrs *ifa0, *ifr6; assert(getifaddrs(&ifa0) == 0); for(ifr6 = ifa0; ifr6; ifr6 = ifr6->ifa_next) { printf("%s\t%p\t%#02x\n", (ifr6->ifa_name ? ifr6->ifa_name : "(null)"), ifr6->ifa_addr, (ifr6->ifa_addr ? (int)ifr6->ifa_addr->sa_family : -1) ); } return 0; } after compiling this case i get the output: ./test2 lo 0x9ba153c 0x11 eth0 0x9ba15c0 0x11 sit0 0x9ba1644 0x11 ppp0 (nil) 0xffffffff lo 0x9ba174c 0x2 ppp0 0x9ba17d0 0x2 lo 0x9ba1854 0xa eth0 0x9ba18d8 0xa Reported to http://bugzilla.gnome.org/show_bug.cgi?id=158376 |