Permalink
Browse files

* fix ber = NULL

 - defaultly uninitialized value on the stack
  • Loading branch information...
1 parent fbb246e commit 283dafd0c24ba791ad144f10126848782558140e @marek-veber marek-veber committed Dec 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 entry.c
View
@@ -113,7 +113,7 @@ rb_ldap_entry_get_attributes (VALUE self)
RB_LDAPENTRY_DATA *edata;
VALUE vals;
char *attr;
- BerElement *ber;
+ BerElement *ber = NULL;
GET_LDAPENTRY_DATA (self, edata);

0 comments on commit 283dafd

Please sign in to comment.