Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Segfault - out of bounds chunk creation #431

Open
psrok1 opened this issue May 16, 2018 · 0 comments
Open

Segfault - out of bounds chunk creation #431

psrok1 opened this issue May 16, 2018 · 0 comments

Comments

@psrok1
Copy link

psrok1 commented May 16, 2018

Values in "Create chunk" window are validated using original file bounds. After truncating file using hexedit functionality, Veles allows to set new chunk on deleted region.

If you try to save contents of that region - you'll got exception:

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant