On Wed, Sep 04, 2013 at 05:47:11PM -0700, Ping Cheng wrote:
> On Wed, Sep 4, 2013 at 4:51 PM, Peter Hutterer 
> <peter.hutte...@who-t.net>wrote:
> 
> > This is a interface for servers with ABI < 14 (up to server 1.11).
> > The server version of it strdups the values, so we must do the same.
> >
> > Otherwise the values assigned to the InputOption list in
> > wcmOptionDupConvert are freed during xf86OptionListFree().
> >
> > That later causes a SIGABORT when NewInputDeviceRequest starts using
> > those options.
> >
> > https://sourceforge.net/p/linuxwacom/bugs/233/
> 
> 
> Does this mean 233 was a driver bug? If so, can you update the comments
> there to acknowledge Jason, the bug reporter?

233 were two bugs. the initial crash was a cause of the ubuntu backports.
once that was taken care of with a local hack this crash emerged. only this
crash will be fixed in the driver, we can't (and shouldn't) put a hack into
the driver to detect that one ubuntu xserver version. so even with this part
fix, Jason still needs the local hack to work around the abi issues.

I'll update the bug accordingly

Cheers,
   Peter

> 
> >
> > Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
> >
> 
> Acked-by: Ping Cheng <pi...@wacom.com>
> 
> Thank you for fixing the issue.
> 
> Ping
> 
> 
> > ---
> >  src/wcmValidateDevice.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c
> > index 65c6168..b3c9c61 100644
> > --- a/src/wcmValidateDevice.c
> > +++ b/src/wcmValidateDevice.c
> > @@ -345,8 +345,8 @@ input_option_new(InputOption *list, char *key, char
> > *value)
> >         InputOption *new;
> >
> >         new = calloc(1, sizeof(InputOption));
> > -       new->key = key;
> > -       new->value = value;
> > +       new->key = strdup(key);
> > +       new->value = strdup(value);
> >         new->next = list;
> >         return new;
> >  }
> > --
> > 1.8.3.1
> >
> >
> >
> > ------------------------------------------------------------------------------
> > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> > Discover the easy way to master current and previous Microsoft technologies
> > and advance your career. Get an incredible 1,500+ hours of step-by-step
> > tutorial videos with LearnDevNow. Subscribe today and save!
> > http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Linuxwacom-devel mailing list
> > Linuxwacom-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
> >

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to