<feed xmlns='http://www.w3.org/2005/Atom'>
<title>minetest.git/src/script/cpp_api, branch 0.4.15</title>
<subtitle>lizzy's patches for luanti
</subtitle>
<id>https://git.vlhl.dev/lizzy/luanti/minetest.git/atom?h=0.4.15</id>
<link rel='self' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/atom?h=0.4.15'/>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/'/>
<updated>2016-12-20T07:17:38+00:00</updated>
<entry>
<title>Security: Fix resolving of some relative paths</title>
<updated>2016-12-20T07:17:38+00:00</updated>
<author>
<name>ShadowNinja</name>
<email>shadowninja@minetest.net</email>
</author>
<published>2016-12-16T22:43:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=0f0502109eac44128e87906fff30b5d049392f1d'/>
<id>urn:sha1:0f0502109eac44128e87906fff30b5d049392f1d</id>
<content type='text'>
Trying to resolve a path with RemoveRelativePathComponents that can't
be resolved without leaving leading parent components (e.g. "../worlds/foo"
or "bar/../../worlds/foo") will fail.  To work around this, we leave
the relative components and simply remove the trailing components one
at a time, and bail out when we find a parent component.  This will
still fail for paths like "worlds/foo/noexist/../auth.txt" (the path
before the last parent component must not exist), but this is fine
since you won't be able to open a file with a path like that anyways
(the O.S. will determine that the path doesn't exist.
Try `cat /a/../etc/passwd`).
</content>
</entry>
<entry>
<title>Mod security: Allow read-only access to all mod paths</title>
<updated>2016-12-20T06:34:04+00:00</updated>
<author>
<name>ShadowNinja</name>
<email>shadowninja@minetest.net</email>
</author>
<published>2016-12-05T19:59:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=59f84ca0a07e50dd5ce050d38ae1aeb529bd25ac'/>
<id>urn:sha1:59f84ca0a07e50dd5ce050d38ae1aeb529bd25ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix secure io.lines</title>
<updated>2016-11-24T15:10:20+00:00</updated>
<author>
<name>ShadowNinja</name>
<email>shadowninja@minetest.net</email>
</author>
<published>2016-11-24T15:10:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=3af5eef96463510a27cf06b9c3ecc9f1d04cdac6'/>
<id>urn:sha1:3af5eef96463510a27cf06b9c3ecc9f1d04cdac6</id>
<content type='text'>
It used to drop all of the return values from the
insecure version of the function.
</content>
</entry>
<entry>
<title>Fix secure io.open without mode</title>
<updated>2016-11-24T14:58:21+00:00</updated>
<author>
<name>ShadowNinja</name>
<email>shadowninja@minetest.net</email>
</author>
<published>2016-11-24T14:58:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=9e10f9f49a558050d36a49db619bf8f5eb3853c0'/>
<id>urn:sha1:9e10f9f49a558050d36a49db619bf8f5eb3853c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix memory leak in ::safeLoadFile (#4730)</title>
<updated>2016-11-05T05:10:49+00:00</updated>
<author>
<name>Zeno-</name>
<email>kde.psych@gmail.com</email>
</author>
<published>2016-11-05T05:10:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=b5c84c34ce283a56317902d24067d9a0795a44c5'/>
<id>urn:sha1:b5c84c34ce283a56317902d24067d9a0795a44c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Emergeblocks: Fix occasional crash</title>
<updated>2016-10-16T00:13:16+00:00</updated>
<author>
<name>Rogier</name>
<email>rogier777@gmail.com</email>
</author>
<published>2016-07-25T16:39:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=4b17105dc45976e399dab68f85b3030fa27f0ae2'/>
<id>urn:sha1:4b17105dc45976e399dab68f85b3030fa27f0ae2</id>
<content type='text'>
Modification of the emergeblocks internal state was not protected
by a lock, causing a race condition.
This can be reproduced by repeatedly running emergeblocks for an
already-generated section of the map (with multiple emerge threads).
</content>
</entry>
<entry>
<title>use unordered containers where possible (patch 4 on X)</title>
<updated>2016-10-06T20:37:26+00:00</updated>
<author>
<name>Loic Blot</name>
<email>loic.blot@unix-experience.fr</email>
</author>
<published>2016-10-06T17:20:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=155288ee981c70f505526347cb2bcda4df1c8e6b'/>
<id>urn:sha1:155288ee981c70f505526347cb2bcda4df1c8e6b</id>
<content type='text'>
Also remove some unused parameters/functions
</content>
</entry>
<entry>
<title>Make plantlike drawtype more fun</title>
<updated>2016-08-26T04:26:08+00:00</updated>
<author>
<name>Auke Kok</name>
<email>sofar@foo-projects.org</email>
</author>
<published>2015-12-11T06:58:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=e58a55aa82dfc66325a694dcc3519d3c0f3388a6'/>
<id>urn:sha1:e58a55aa82dfc66325a694dcc3519d3c0f3388a6</id>
<content type='text'>
Adds several new ways that the plantlike drawtype mesh can be changed.

This requires paramtype2 = "meshoptions" to be set in the node
definition. The drawtype for these nodes should be "plantlike".

These modifications are all done using param2. This field is now
a complex bitfield that allows some or more of the combinations to
be chosen, and the mesh draw code will choose the options based as
neeeded for each plantlike node.

bit layout:
bits 0, 1 and 2 (values 0x1 through 0x7) are for choosing the plant
mesh shape:
  0 - ordinary plantlike plant ("x" shaped)
  1 - ordinary plant, but rotated 45 degrees ("+" shaped)
  2 - a plant with 3 faces ("*" shaped)
  3 - a plant with 4 faces ("#" shaped)
  4 - a plant with 4 faces ("#" shaped, leaning outwards)
  5 through 7 are unused and reserved for future mesh shapes.

bit 3 (0x8) causes the plant to be randomly offset in the x,z
plane. The plant should fall within the 1x1x1 nodebox if regularly
sized.

bit 4 (0x10) causes the plant mesh to grow by sqrt(2), and will cause
the plant mesh to fill out 1x1x1, and appear slightly larger. Texture
makers will want to make their plant texture 23x16 pixels to have the
best visual fit in 1x1x1 size.

bit 5 (0x20) causes each face of the plant to have a slight negative
Y offset in position, descending up to 0.125 downwards into the node
below. Because this is per face, this causes the plant model to be
less symmetric.

bit 6 (0x40) through bit 7 (0x80) are unused and reserved for
future use.

!(https://youtu.be/qWuI664krsI)
</content>
</entry>
<entry>
<title>couple of memory leaks fixes.</title>
<updated>2016-08-10T14:59:32+00:00</updated>
<author>
<name>David Carlier</name>
<email>devnexen@gmail.com</email>
</author>
<published>2016-07-28T07:56:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=48b3bb980d4a026d32739acc1982f16e3c303c5b'/>
<id>urn:sha1:48b3bb980d4a026d32739acc1982f16e3c303c5b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Server: Add reason for leave to `on_leaveplayer` callbacks</title>
<updated>2016-06-11T03:17:04+00:00</updated>
<author>
<name>Diego Martinez</name>
<email>kaeza@users.sf.net</email>
</author>
<published>2016-01-05T01:49:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/luanti/minetest.git/commit/?id=dac40af6eeeb7205d507046fd4d9ae06ae182095'/>
<id>urn:sha1:dac40af6eeeb7205d507046fd4d9ae06ae182095</id>
<content type='text'>
</content>
</entry>
</feed>
