Just to be clear, I'm working on this one.
Jeremy Teo wrote:
Hello,
as mentioned in the subject above. Trivial patch to fix this is attached.
Regards,
Jeremy
Suggested Fix:
--- usr/src/uts/common/fs/pathname.c Tue Jun 14 15:45:20 2005
+++ usr/src/uts/common/fs/pathname.c Wed Jun 29 14:47:11 2005
@@ -86,7 +86,7 @@
void
pn_free(struct pathname *pnp)
{
- kmem_free(pnp-pn_buf, MAXPATHLEN);
+ kmem_free(pnp-pn_buf, pnp-pn_bufsize);
pnp-pn_path = pnp-pn_buf = NULL;
pnp-pn_pathlen = pnp-pn_bufsize = 0;
}
This message posted from opensolaris.org
___
request-sponsor mailing list
request-sponsor at opensolaris.org