FreeBSD Bugzilla – Attachment 170020 Details for
Bug 209305
Code to malloc should use struct <NAME> instead of pointer as per style guidelines
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for malloc using struct
efipart.diff (text/plain), 391 bytes, created by
Shawn Debnath
on 2016-05-05 20:22:28 UTC
(
hide
)
Description:
Patch for malloc using struct
Filename:
MIME Type:
Creator:
Shawn Debnath
Created:
2016-05-05 20:22:28 UTC
Size:
391 bytes
patch
obsolete
>Index: efi/libefi/efipart.c >=================================================================== >--- efi/libefi/efipart.c (revision 299125) >+++ efi/libefi/efipart.c (working copy) >@@ -107,7 +107,7 @@ > nout = 0; > > bzero(aliases, nin * sizeof(EFI_HANDLE)); >- pdinfo = malloc(nin * sizeof(*pdinfo)); >+ pdinfo = malloc(nin * sizeof(struct pdinfo)); > if (pdinfo == NULL) > return (ENOMEM); >
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 209305
: 170020