Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 632296 Details for
Bug 716122
sys-block/open-iscsi-2.1.1 : iscsi_util.c: error: format %lu expects argument of type long unsigned int, but argument 3 has type r
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug that fixes a format string size problem
snprintf_fix.patch (text/plain), 412 bytes, created by
Adam Stylinski
on 2020-04-11 18:11:57 UTC
(
hide
)
Description:
Bug that fixes a format string size problem
Filename:
MIME Type:
Creator:
Adam Stylinski
Created:
2020-04-11 18:11:57 UTC
Size:
412 bytes
patch
obsolete
>--- open-iscsi-2.1.1/usr/discovery.c 2020-02-26 14:07:13.000000000 -0500 >+++ open-iscsi-2.1.1/usr/discovery.c 2020-04-11 14:04:32.000000000 -0400 >@@ -121,7 +121,7 @@ > if (!server) > return ISCSI_ERR_NOMEM; > >- snprintf(server, len, "%s:%d", address, port); >+ snprintf(server, len, "%s:%hu", address, (unsigned short)port); > isns_assign_string(&isns_config.ic_server_name, server); > free(server); > return 0;
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 716122
:
629746
|
629748
|
629750
|
629752
|
629754
|
629756
|
629758
| 632296