Summary: | devel/sdl12 dumps core on 8-current when joystick is used | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Wes Morgan <morganw> | ||||
Component: | Individual Port(s) | Assignee: | Marcus von Appen <mva> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Wes Morgan
2009-07-22 02:50:00 UTC
Responsible Changed From-To: freebsd-ports-bugs->mva Fix synopsis and assign. Hi, I can't find any notable difference between your patch and the already existing one within the ports. Did you send the wrong file around or am I missing something? Thanks and regards Marcus On Tue, 4 Aug 2009, Marcus von Appen wrote: > Hi, > > I can't find any notable difference between your patch and the already > existing one within the ports. Did you send the wrong file around or am > I missing something? > > Thanks and regards > Marcus > The line with the rep assignment: rep = &hw->inreport; Needs to be before the #if conditionals, otherwise you'll dereference an uninitialized pointer. The patch in ports CVS has the assignment after the ifdef, instead of before. mva 2009-08-08 08:49:29 UTC FreeBSD ports repository Modified files: devel/sdl12 Makefile devel/sdl12/files patch-src_joystick_bsd_SDL_sysjoystick.c Log: Fix crashes when joysticks are attached on -CURRENT. PR: ports/136973 Reviewed by: Wes Morgan <morganw@chemikals.org> Approved by: miwi (mentor) Revision Changes Path 1.120 +1 -1 ports/devel/sdl12/Makefile 1.2 +3 -3 ports/devel/sdl12/files/patch-src_joystick_bsd_SDL_sysjoystick.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Committed. Thanks! |