This is an automatically generated e-mail. To reply, visit: http://reviewboard-openlmi.rhcloud.com/r/825/

Ship it!

Ship It!

- Jan Synacek


On September 4th, 2013, 4:51 p.m. CEST, Roman Rakus wrote:

Review request for OpenLMI Developers.
By Roman Rakus.

Updated Sept. 4, 2013, 4:51 p.m.

Repository: openlmi-providers

Description

Account: Fix memory corruption

There was false assumption that lu_end doesn't free error messages.
The code is restructured to copy error message to temporary string
holder, which is freed after and error message is correctly returned,
all in one place.

Signed-off-by: Roman Rakus <rrakus@redhat.com>

Diffs

  • src/account/LMI_AccountProvider.c (c58b001c52fb7e84425e403d02779efb172a5122)
  • src/account/LMI_GroupProvider.c (d3263f47fb8366703e334732dedc86c11b446974)
  • src/account/LMI_IdentityProvider.c (e008746e89ba7eab4e9a24c5647c048a88a51d8e)
  • src/account/LMI_MemberOfGroupProvider.c (b06cd437c6e80d759565d6746b9b402133793170)

View Diff