Coder Social home page Coder Social logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
my suggested fix is one line:  change strcpy, that MSVS is complaining about, 
to memcpy.

old:
strcpy(clone, c_string);

new:
memcpy(clone, c_string, len + 1);

patch file is attached.

Original comment by [email protected] on 6 Oct 2008 at 6:43

  • Added labels: ****
  • Removed labels: ****

Attachments:

from googletest.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024

Original comment by [email protected] on 8 Oct 2008 at 9:10

  • Added labels: OpSys-Windows, Priority-Low
  • Removed labels: Priority-Medium

from googletest.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
Keith, 
I am putting the change in, together with another sample fix (that one for VS 
7.1).
They may take a week or two to filter to svn, though -- we are busy with the 
other
things right now.

Original comment by vladlosev on 9 Oct 2008 at 1:02

  • Added labels: ****
  • Removed labels: ****

from googletest.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024

Original comment by [email protected] on 12 Oct 2008 at 3:21

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from googletest.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
Fixed in revision 135.

Original comment by vladlosev on 22 Nov 2008 at 6:08

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

from googletest.

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.