FreeBSD Bugzilla – Attachment 51009 Details for
Bug 77591
Case of pointer to FPSWA being NULL not correctly handled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 542 bytes, created by
Christian Kandeler
on 2005-02-16 09:50:10 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Christian Kandeler
Created:
2005-02-16 09:50:10 UTC
Size:
542 bytes
patch
obsolete
>--- sys/ia64/ia64/machdep.c 2004-09-09 10:03:19.000000000 +0000 >+++ sys/ia64/ia64/machdep.c 2005-02-16 09:16:19.335945801 +0000 >@@ -600,7 +600,8 @@ > printf("WARNING: loader(8) metadata is missing!\n"); > > /* Get FPSWA interface */ >- fpswa_interface = (FPSWA_INTERFACE*)IA64_PHYS_TO_RR7(bootinfo.bi_fpswa); >+ fpswa_interface = (bootinfo.bi_fpswa != NULL) ? >+ (FPSWA_INTERFACE*) IA64_PHYS_TO_RR7(bootinfo.bi_fpswa) : NULL; > > /* Init basic tunables, including hz */ > init_param1();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 77591
: 51009