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

Leif Hedstrom commented on TS-419:
----------------------------------

Hmmm, shouldn't we do a va_end() before this new va_start(), just to be 
consistent?

> Segmentation fault in INKError when error output is made both in error log 
> and as debug messages  
> --------------------------------------------------------------------------------------------------
>
>                 Key: TS-419
>                 URL: https://issues.apache.org/jira/browse/TS-419
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: InkAPI
>    Affects Versions: 2.1.1, 2.1.0, 2.0.1, 2.0.0
>            Reporter: Yakov Markovitch
>         Attachments: INKError.patch
>
>
> When TS is configures so that to print INKError messages both to the error 
> log and as debug messages (e.g. by starting TS with -B 'deft'), calling 
> INKError with variable arguments (like INKError("The answer to the %s is %d", 
> "Ultimate Question of Life, the Universe, and Everything", 42)) causes 
> segfault.
> The cause of this bug is that INKError uses once initialised va_args pointer 
> two times.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to