Bug 31345

Summary: savecore does not work for sizes 2GB+
Product: Base System Reporter: Nitin Bahadur <bnitin>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-RELEASE   
Hardware: Any   
OS: Any   

Description Nitin Bahadur 2001-10-18 03:40:01 UTC
savecore calculates the dumpsize incorrectly for memory size 2GB+
Basically it is a type conversion problem

Fix: 

savecore.c : line 589

original: dumpsize = kdumpsize * getpagesize();
fix     : dumpsize = (off_t)kdumpsize * (off_t)getpagesize();
How-To-Repeat: panic a machine with 2GB+ memory
Comment 1 ps freebsd_committer freebsd_triage 2001-10-18 03:57:00 UTC
State Changed
From-To: open->closed

Fixed in rev 1.46 and rev 1.28.2.12