Re: sudo alloc.c -- cleanup required?

2014-04-24 Thread Todd C. Miller
Sudo runs on more systems thsan just OpenBSD and so has a lot of configure goo and defines as a result. There's really no point in removing that. Any changes made to the sudo in OpenBSD just makes updates harder. The alloc functions implement integer overflow checks that are not present on most

Re: sudo alloc.c -- cleanup required?

2014-04-24 Thread Peter Malone
Great explanation - thanks. On 04/24/14 08:28, Todd C. Miller wrote: Sudo runs on more systems thsan just OpenBSD and so has a lot of configure goo and defines as a result. There's really no point in removing that. Any changes made to the sudo in OpenBSD just makes updates harder. The

sudo alloc.c -- cleanup required?

2014-04-23 Thread Peter Malone
Hi, I see something with sudo which I would like to raise with the team. This impacts most of the source files in the sudo package. Before I go down this rat hole, I wanted to run it by you folks to see if you agree. /* * If there is no SIZE_MAX or SIZE_T_MAX we have to assume that size_t *

Re: sudo alloc.c -- cleanup required?

2014-04-23 Thread Nayden Markatchev
Hi, On Wed, Apr 23, 2014 at 8:08 PM, Peter Malone pe...@petermalone.org wrote: Hi, I see something with sudo which I would like to raise with the team. This impacts most of the source files in the sudo package. Before I go down this rat hole, I wanted to run it by you folks to see if you