Allocate buffer large enough not only if size == 0, but also for size < 0.
authordrepper <drepper>
Fri, 20 Aug 1999 18:07:01 +0000 (18:07 +0000)
committerdrepper <drepper>
Fri, 20 Aug 1999 18:07:01 +0000 (18:07 +0000)
commit0701b59dfd11ba85e934a0583e8765065ed8fa30
tree0866a52122e42e9742d8f1c2e9df9f714a1a37b8
parent9d429101993b2dc8c839c8941000e3ea27d76ba2
Allocate buffer large enough not only if size == 0, but also for size < 0.
sysdeps/unix/sysv/linux/getcwd.c