Skip to content

curl callbacks reading from rest_internal::WriteVector when no more data is present #14614

@scotthart

Description

@scotthart

std::copy(src.begin(), src.begin() + dst.size(), dst.begin());
leads to a crash when no data is left

Metadata

Metadata

Assignees

Labels

cpp: restpriority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions