Giter Site home page Giter Site logo

Comments (2)

jgallagher59701 avatar jgallagher59701 commented on June 28, 2024

from libdap4.

gy741 avatar gy741 commented on June 28, 2024

Hello,

CentOS 7 was able to reproduce the problem.

Thanks.

[karas]$ cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
[karas]$ valgrind ./getdap -k libdap__XDRFileUnMarshaller__get_vector
==8659== Invalid write of size 2
==8659==    at 0x5F719D5: xdr_int16_t (in /usr/lib64/libc-2.17.so)
==8659==    by 0x5F70603: xdr_array (in /usr/lib64/libc-2.17.so)
==8659==    by 0x5A1E7A: libdap::XDRFileUnMarshaller::get_vector(char**, unsigned int&, int, libdap::Vector&) (XDRFileUnMarshaller.cc:186)
==8659==    by 0x4FFA00: libdap::Vector::deserialize(libdap::UnMarshaller&, libdap::DDS*, bool) (Vector.cc:813)
==8659==    by 0x42835E: libdap::Connect::process_data(libdap::DataDDS&, libdap::Response*) (Connect.cc:143)
==8659==    by 0x44934D: libdap::Connect::read_data_no_mime(libdap::DataDDS&, libdap::Response*) (Connect.cc:1071)
==8659==    by 0x4102F0: main (getdap.cc:276)
==8659==  Address 0xa46a8b0 is 0 bytes after a block of size 32 alloc'd
==8659==    at 0x4C2A8A8: operator new[](unsigned long) (vg_replace_malloc.c:423)
==8659==    by 0x4F949F: libdap::Vector::m_create_cardinal_data_buffer_for_type(unsigned int) (Vector.cc:202)
==8659==    by 0x4FF796: libdap::Vector::deserialize(libdap::UnMarshaller&, libdap::DDS*, bool) (Vector.cc:797)
==8659==    by 0x42835E: libdap::Connect::process_data(libdap::DataDDS&, libdap::Response*) (Connect.cc:143)
==8659==    by 0x44934D: libdap::Connect::read_data_no_mime(libdap::DataDDS&, libdap::Response*) (Connect.cc:1071)
==8659==    by 0x4102F0: main (getdap.cc:276)

from libdap4.

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.