]>
Commit | Line | Data |
---|---|---|
bd66dff5 SS |
1 | fix for "Segmentation fault" in nsupdate |
2 | ||
3 | $ nsupdate | |
4 | > update | |
5 | Segmentation fault | |
6 | ||
7 | from https://bugs.archlinux.org/task/30139?getfile=8868 | |
8 | (they say: "The upstream bug reference number is 29550") | |
9 | --- /home/bisson/Desktop/bind-9.9.1-P1/bin/nsupdate/nsupdate.c 2012-06-02 01:29:52.000000000 +1000 | |
10 | +++ bin/nsupdate/nsupdate.c 2012-06-06 02:50:37.894357220 +1000 | |
11 | @@ -376,7 +376,7 @@ | |
12 | char sc, dc; | |
13 | ||
14 | if (string == NULL) | |
15 | - return (NULL); | |
16 | + return &string; | |
17 | ||
18 | for (; *string != '\0'; string++) { | |
19 | sc = *string; |