FreeBSD Bugzilla – Attachment 196063 Details for
Bug 225372
comms/hylafax: Fails to build (post-Clang 6 import) -- error: comparison between pointer and integer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix bad pointer comparison
patch-libhylafax_FaxRecvInfo.c++ (text/plain), 413 bytes, created by
Dimitry Andric
on 2018-08-10 18:49:36 UTC
(
hide
)
Description:
Fix bad pointer comparison
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2018-08-10 18:49:36 UTC
Size:
413 bytes
patch
obsolete
>--- libhylafax/FaxRecvInfo.c++.orig 2012-06-06 00:58:38 UTC >+++ libhylafax/FaxRecvInfo.c++ >@@ -112,7 +112,7 @@ FaxRecvInfo::decode(const char* cp) > if (cp == NULL || cp[1] != ',' || cp[2] != '"') > return (false); > u_int i = 0; >- while (cp+2 != '\0') { >+ while (cp[2] != '\0') { > callid[i] = cp+3; // +1 for "/+1 for ,/+1 for " > if (*cp == '\"') break; > callid[i].resize(callid[i].next(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 225372
:
191117
| 196063