user_dn should be initialised to NULL
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 10 Dec 2012 16:05:09 +0000 (16:05 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 10 Dec 2012 16:05:09 +0000 (16:05 +0000)
commit9248f16ed8bee98d335d361d5a664283fea8c80a
tree1df8eb66af625572ff9e7f74a4cb4209ddc87d6e
parentccb60f4ce502cf8fa37f621e896b223a3b13ee94
user_dn should be initialised to NULL

Need to use memcpy to copy pointer to array element into value field in mods struct, because OpenLDAP doesn't use const anywhere
src/modules/rlm_ldap/rlm_ldap.c