Thread

  1. Patch to fix ecpg core dump with nested structure pointer variable

    Muhammad Usama <m.usama@gmail.com> — 2012-11-29T13:36:20Z

    Hi
    
    I have bumped in the segmentation fault in ecpg when using pointer to
    nested structure variable.
    
    ecpg crash.pgc
    Segmentation fault: 11
    
    Please see the attached patch for the fix and test case to reproduce the
    scenario.
    
    
    Thanks
    Regards
    Muhammad Usama
    
  2. Re: Patch to fix ecpg core dump with nested structure pointer variable

    Michael Meskes <meskes@postgresql.org> — 2012-11-29T16:17:09Z

    > I have bumped in the segmentation fault in ecpg when using pointer to
    > nested structure variable.
    > ...
    > Please see the attached patch for the fix and test case to reproduce the
    > scenario.
    
    Thanks for spotting and fixing this. Patch committed to git.
    
    Michael
    -- 
    Michael Meskes
    Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
    Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
    Jabber: michael.meskes at gmail dot com
    VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL