openv / vcontrold

:fire: vcontrold Daemon for control and logging of Viessmann® type heating devices
https://github.com/openv/openv/wiki
GNU General Public License v3.0
101 stars 54 forks source link

Issue #24: Fixing bad realloc() #26

Closed speters closed 6 years ago

speters commented 6 years ago

This fixes #24 realloc() error in vclient.

The previous implementation didn't account for pointers which get invalid when a memory region has been moved during realloc().