subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Raevskiy <sergey.raevs...@visualsvn.com>
Subject [PATCH] Fix pool usage in FSFS locking code
Date Thu, 12 Feb 2015 13:18:17 GMT
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
]]]

Mime
View raw message