[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Fix unitialized memory access in svn_canonicalize_path()

From: Jelmer Vernooij <jelmer_at_samba.org>
Date: Sun, 22 Jun 2008 03:03:44 +0200

svn_path_canonicalize() will try to access a single byte before its
allocated buffer if the path specified is "". The attached patch fixes
this. I've confirmed the error and the fix with valgrind.

[[[
 * subversion/libsvn_subr/path.c (svn_canonicalize_path): Avoid
   accessing unitialized memory when path is "".
]]]

Cheers,

Jelmer

Received on 2008-06-22 03:05:18 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.