Git Product home page Git Product logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
之前mail list里面也有人指出了这个问题。

一般情况下,getenv ("HOME")的长度远小于PATH_MAX(文件extra.c 
函数LoadExtraIM 使用的是256),
不过确实对恶意输入没有抵抗力。

现在的tool.c中已经改用snprintf(),而且也检查了getenv 
("HOME")的有效性。

Original comment by [email protected] on 14 May 2008 at 1:22

from fcitx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
tiangui,谢谢你的解释。
但是 table.c, py.c 和其它几个 .c 文件也有这个问题。我把 py.c 
中的部分有问题的
strcpy() 改掉了,patch 见附件。你能帮我把它加入 SVN 
中的代码么?

谢谢。

Original comment by [email protected] on 14 May 2008 at 1:41

Attachments:

from fcitx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
原先的讨论帖子,做个记录:
http://groups.google.com/group/fcitx-dev/browse_thread/thread/300f9b89c78bd7d9?h
l=zh-CN

Original comment by [email protected] on 17 May 2008 at 4:44

from fcitx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
路径已经全部交给 src/fcitx-config/xdg.c 处理

应该是都解决了。

Original comment by [email protected] on 26 Oct 2010 at 8:05

  • Changed state: Fixed

from fcitx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Issue 160 has been merged into this issue.

Original comment by [email protected] on 26 Oct 2010 at 8:32

from fcitx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.