mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-12 18:13:50 -05:00
When asked to malloc zero bytes, malloc one byte instead. This ensures
that we get a unique pointer rather than NULL (which ANSI C otherwise permits). Problem pointed out by Mike Protts. [originally from svn r6308]
This commit is contained in:
parent
059e409c82
commit
f2d8fd97d0