[augeas-devel] (make_path): avoid buffer overrun

David Lutterkort dlutter at redhat.com
Fri May 23 15:26:27 UTC 2008


On Fri, 2008-05-23 at 15:23 +0200, Jim Meyering wrote:
> Another edge case with "get /":
> 
> changeset:   489:c60956210601
> tag:         tip
> user:        Jim Meyering <meyering at redhat.com>
> date:        Fri May 23 15:14:55 2008 +0200
> files:       src/augeas.c
> description:
> "echo get /|augtool -n" would read one past end of malloc'd buffer
> * src/augeas.c (make_path): Avoid buffer overrun.

Ugh .. much appreciated and ACK.

David





More information about the augeas-devel mailing list