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

[PATCH] Fix pool usage in FSFS locking code

From: Sergey Raevskiy <sergey.raevskiy_at_visualsvn.com>
Date: Thu, 12 Feb 2015 16:18:17 +0300

Hi!

I've noticed an improper pool usage in FSFS code. The svn_lock_t * object is
created in RESULT_POOL, but its fiels are not gettting pstrdup'ed.

The patch with fix is attached.

Log message:
[[[
* subversion/libsvn_fs_fs/lock.c
  (lock_body): Fix pool usage. Call apr_pstrdup() when initializing svn_lock_t
   fields.

Patch by: sergey.raevskiy{_AT_}visualsvn.com
]]]

Received on 2015-02-12 14:20:59 CET

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.