Beena Emerson
memis****@gmail*****
2014年 5月 20日 (火) 23:22:42 JST
It was reported that using pg_trgm for turkish locale and UTF8 encoding, resulted in segmentation fault. The reason was changing the uppercase I to lowercase required more space. This bug was fixed in commit: https://github.com/postgres/postgres/commit/c3ccc9ee584b9b015dd9c1931e261e21f3961e5f A few checks for the buffer over flow case have also been added in this commit Though pg_bigm does not convert the string to lower case, the checks for buffer overflow could be added and the attached patch buffer-overflow-check.patch does that. This patch does not include the change to add more space to the intermediate buffer. The second patch update-copyright-2014.patch, updates the copyright information on various files. Regards, Beena Emerson Have a Great Day! -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...ダウンロード -------------- next part -------------- $B%F%-%9%H7A<00J30$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B... $B%U%!%$%kL>(B: buffer-overflow-check.patch $B7?(B: application/octet-stream $B%5%$%:(B: 2094 $B%P%$%H(B $B @ bL@(B: $BL5$7(B URL: http://lists.sourceforge.jp/mailman/archives/pgbigm-hackers/attachments/20140520/9672c484/attachment.obj -------------- next part -------------- $B%F%-%9%H7A<00J30$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B... $B%U%!%$%kL>(B: update-copyright-2014.patch $B7?(B: application/octet-stream $B%5%$%:(B: 3737 $B%P%$%H(B $B @ bL@(B: $BL5$7(B URL: http://lists.sourceforge.jp/mailman/archives/pgbigm-hackers/attachments/20140520/9672c484/attachment-0001.obj