[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
regex: malloc 0 bytes
From: |
Stepan Kasal |
Subject: |
regex: malloc 0 bytes |
Date: |
Wed, 24 Aug 2005 08:26:18 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
another patch for new regex module:
Stepan
----- Forwarded message from Yuri Vasilevski <address@hidden> -----
Date: Tue, 23 Aug 2005 23:17:40 -0500
To: address@hidden
Subject: Bug Report: sed-4.1.4 misinterprets uClibc's malloc (patch included)
Hi,
Recent versions of sed expect glibc behavior form malloc, i.e.
malloc(0) return live pointer. This is not true for uClibc (and many
other old/classical libc implementations).
So I made and attach a patch to solve this problem. It basically makes
re_node_set_alloc(set,0) behave exactly as re_node_set_init_empty(set).
Yuri.
----- End forwarded message -----
sed-4.1.4-malloc.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- regex: malloc 0 bytes,
Stepan Kasal <=