Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 377930 Details for
Bug 511952
net-misc/siproxd - add epatch_user support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Let PLUGIN_RAW plugins alter message lengths
0.8.0-siproxd-perform_checks_on_ticket.patch (text/plain), 1.54 KB, created by
x0r
on 2014-05-31 11:40:04 UTC
(
hide
)
Description:
Let PLUGIN_RAW plugins alter message lengths
Filename:
MIME Type:
Creator:
x0r
Created:
2014-05-31 11:40:04 UTC
Size:
1.54 KB
patch
obsolete
>--- src/siproxd.c~ 2014-05-14 22:43:31.348725368 +0200 >+++ src/siproxd.c 2014-05-14 22:45:22.706674127 +0200 >@@ -408,7 +408,7 @@ > /* > * integrity checks > */ >- sts=security_check_raw(buff, buflen); >+ sts=security_check_raw(ticket.raw_buffer, ticket.raw_buffer_len); > if (sts != STS_SUCCESS) { > DEBUGC(DBCLASS_SIP,"security check (raw) failed"); > continue; /* there are no resources to free */ >@@ -417,7 +417,7 @@ > /* > * Hacks to fix-up some broken headers > */ >- sts=sip_fixup_asterisk(buff, &buflen); >+ sts=sip_fixup_asterisk(ticket.raw_buffer, &ticket.raw_buffer_len); > > /* > * init sip_msg >@@ -434,10 +434,10 @@ > * Proxy Behavior - Request Validation - Reasonable Syntax > * (parse the received message) > */ >- sts=sip_message_parse(ticket.sipmsg, buff, buflen); >+ sts=sip_message_parse(ticket.sipmsg, ticket.raw_buffer, ticket.raw_buffer_len); > if (sts != 0) { > ERROR("sip_message_parse() failed... this is not good"); >- DUMP_BUFFER(-1, buff, buflen); >+ DUMP_BUFFER(-1, ticket.raw_buffer, ticket.raw_buffer_len); > goto end_loop; /* skip and free resources */ > } > >@@ -447,7 +447,7 @@ > sts=security_check_sip(&ticket); > if (sts != STS_SUCCESS) { > ERROR("security_check_sip() failed... this is not good"); >- DUMP_BUFFER(-1, buff, buflen); >+ DUMP_BUFFER(-1, ticket.raw_buffer, ticket.raw_buffer_len); > goto end_loop; /* skip and free resources */ > } >
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 511952
:
377928
| 377930