avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vivek Nadkarni (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-928) Debug statement reports garbage value from stack
Date Fri, 14 Oct 2011 23:44:11 GMT

     [ https://issues.apache.org/jira/browse/AVRO-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Vivek Nadkarni updated AVRO-928:

    Status: Patch Available  (was: Open)

This patch should allow the diagnostics to report the appropriate pointer address instead
of a garbage pointer address. 

> Debug statement reports garbage value from stack
> ------------------------------------------------
>                 Key: AVRO-928
>                 URL: https://issues.apache.org/jira/browse/AVRO-928
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.6.0
>         Environment: All
>            Reporter: Vivek Nadkarni
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.6.0
>         Attachments: AVRO-928.patch
>   Original Estimate: 10m
>  Remaining Estimate: 10m
> The debug statement in resolved-writer.c in the function avro_resolved_writer_get_by_index()
provides the value of an element from an uninitialized struct on the stack. I believe the
intention was to report a different pointer value in the diagnostic. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message