Commit b991c92
committed
tds: fix potential NULL dereference
The result of the realloc function can be NULL if the memory allocation fails.
Found by PostgresPro with Svace Static Analyzer
Signed-off-by: Maksim Korotkov <m.korotkov@postgrespro.ru>1 parent dfd9085 commit b991c92
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2541 | 2541 | | |
2542 | 2542 | | |
2543 | 2543 | | |
2544 | | - | |
| 2544 | + | |
| 2545 | + | |
| 2546 | + | |
| 2547 | + | |
| 2548 | + | |
| 2549 | + | |
| 2550 | + | |
2545 | 2551 | | |
2546 | 2552 | | |
2547 | 2553 | | |
| |||
0 commit comments