Commit 20b25df
Fix realloc with size == 0 in dbuf_default_realloc()
If the new_size argument to realloc is zero, the behavior
is undefined since C23.1 parent 08db51a commit 20b25df
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
105 | 109 | | |
106 | 110 | | |
107 | 111 | | |
| |||
0 commit comments