Re: [dev] [sselp] [patch] Offset increment

2015-02-02 Thread Anselm R Garbe
On 19 January 2015 at 14:09, Virgile Andreani wrote: > Using sselp on a string longer than BUFSIZ currently leads to a > crash. The reason is that on line 38 of `sselp.c`, `off` should > not be incremented by the length of a chunk but by `len/4`. > Indeed, incrementing `off` by 1 skips four chara

[dev] [sselp] [patch] Offset increment

2015-01-19 Thread Virgile Andreani
Dear suckless developers, Using sselp on a string longer than BUFSIZ currently leads to a crash. The reason is that on line 38 of `sselp.c`, `off` should not be incremented by the length of a chunk but by `len/4`. Indeed, incrementing `off` by 1 skips four characters, not one. Here is the releva