Permalink
Browse files

force ragel alphtype to unsigned char, fixing non-ASCII TXT parsing o…

…n signed char platforms like s390x
  • Loading branch information...
1 parent 07b904e commit c669f7c4f4935fa967876230bc35d7dc6b9653ae @Habbie Habbie committed Oct 24, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 pdns/dnslabeltext.rl
@@ -22,6 +22,7 @@ vector<string> segmentDNSText(const string& input )
%%{
machine dnstext;
write data;
+ alphtype unsigned char;
}%%
(void)dnstext_error; // silence warnings
(void)dnstext_en_main;

0 comments on commit c669f7c

Please sign in to comment.