Commit 05edad7
committed
Revert "common/common.c: extend xbasename(), xstrdup() and xrealloc() definition to return NULL if input was NULL (and log it) [#2052]"
This reverts commit 05610d1.
Seems to cause segfaults on its own, maybe something relied on
older behavior (non-NULLs returned in case of bad inputs?)
To investigate separately later...1 parent d2857f6 commit 05edad7
1 file changed
Lines changed: 5 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | 646 | | |
657 | | - | |
| 647 | + | |
658 | 648 | | |
659 | | - | |
660 | | - | |
| 649 | + | |
| 650 | + | |
661 | 651 | | |
662 | 652 | | |
663 | 653 | | |
| |||
1739 | 1729 | | |
1740 | 1730 | | |
1741 | 1731 | | |
1742 | | - | |
1743 | | - | |
1744 | | - | |
1745 | | - | |
1746 | | - | |
1747 | | - | |
1748 | | - | |
1749 | | - | |
| 1732 | + | |
1750 | 1733 | | |
1751 | 1734 | | |
1752 | 1735 | | |
| |||
1755 | 1738 | | |
1756 | 1739 | | |
1757 | 1740 | | |
1758 | | - | |
1759 | | - | |
1760 | | - | |
1761 | | - | |
1762 | | - | |
1763 | | - | |
1764 | | - | |
1765 | | - | |
| 1741 | + | |
1766 | 1742 | | |
1767 | 1743 | | |
1768 | 1744 | | |
| |||
0 commit comments