[ 
https://issues.apache.org/jira/browse/TS-4609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15353892#comment-15353892
 ] 

ASF GitHub Bot commented on TS-4609:
------------------------------------

GitHub user jpeach opened a pull request:

    https://github.com/apache/trafficserver/pull/759

    TS-4609: Fix uninitialized read in SDK_API_HttpTxnTransform.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jpeach/trafficserver fix/4609

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/759.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #759
    
----
commit 65c78c21c4ed87d533442eddeddb24b911375ba1
Author: James Peach <[email protected]>
Date:   2016-06-28T23:05:44Z

    TS-4609: Fix uninitialized read in SDK_API_HttpTxnTransform.

----


> uninitialized read in SDK_API_HttpTxnTransform
> ----------------------------------------------
>
>                 Key: TS-4609
>                 URL: https://issues.apache.org/jira/browse/TS-4609
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Tests
>            Reporter: James Peach
>             Fix For: 7.0.0
>
>
> Valgrind says:
> {noformat}
> ==32449== Thread 4 [ET_NET 2]:
> ==32449== Conditional jump or move depends on uninitialised value(s)
> ==32449==    at 0x4C30C9E: __strstr_sse42 (in 
> /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==32449==    by 0x4EF5B1: transform_hook_handler(tsapi_cont*, TSEvent, void*) 
> (InkAPITest.cc:6818)
> ==32449==    by 0x4B3139: INKContInternal::handle_event(int, void*) 
> (InkAPI.cc:1012)
> ==32449==    by 0x6D9E32: EThread::process_event(Event*, int) 
> (I_Continuation.h:153)
> ==32449==    by 0x6DA321: EThread::execute() (UnixEThread.cc:230)
> ==32449==    by 0x6D9643: spawn_thread_internal(void*) (Thread.cc:84)
> ==32449==    by 0x6C18DC4: start_thread (in /usr/lib64/libpthread-2.17.so)
> ==32449==    by 0x79AFCEC: clone (in /usr/lib64/libc-2.17.so)
> ==32449==
> {noformat}
> The problem is an off-by one NUL terminating the response buffer in 
> {{synclient_txn_read_response}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to