Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 506432 Details for
Bug 630516
net-libs/libsoup-2.56.1: websocket tests fail
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix
bug-630516.patch (text/plain), 501 bytes, created by
Rolf Eike Beer
on 2017-11-24 17:08:39 UTC
(
hide
)
Description:
fix
Filename:
MIME Type:
Creator:
Rolf Eike Beer
Created:
2017-11-24 17:08:39 UTC
Size:
501 bytes
patch
obsolete
>--- a/libsoup/soup-websocket-connection.c 2017-11-24 17:55:58.119804106 +0100 >+++ b/libsoup/soup-websocket-connection.c 2017-11-24 17:58:35.169798836 +0100 >@@ -395,9 +395,10 @@ > * probably a client somewhere that's not expecting it. > */ > if (self->pv->connection_type == SOUP_WEBSOCKET_CONNECTION_CLIENT) { >+ guint32 rnd = g_random_int (); > outer[1] |= 0x80; > mask = outer + bytes->len; >- * ((guint32 *)mask) = g_random_int (); >+ memcpy(mask, &rnd, sizeof(rnd)); > bytes->len += 4; > } >
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 630516
:
493606
| 506432