jtsiomb / kdtree

A simple C library for working with KD-Trees
http://nuclear.mutantstargoat.com/sw/kdtree/
Other
391 stars 115 forks source link

kd_nearest_rangef causes segfault when dimnsions <= 16 #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In kd_nearest_rangef, buf is not set to sbuf when dim < 16

Line 301:
bptr = buf = sbuf;

Original issue reported on code.google.com by Wiza...@gmail.com on 29 May 2009 at 10:44

GoogleCodeExporter commented 9 years ago
Patch against 0.5.5 attached.

Original comment by Wiza...@gmail.com on 1 Feb 2010 at 2:59

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for reporting, commited a fix.

Original comment by jtsi...@gmail.com on 25 Nov 2011 at 12:06