Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing bounds checking for Bigarray.Genarray.nth_dim #7705

Closed
vicuna opened this issue Jan 4, 2018 · 1 comment
Closed

Missing bounds checking for Bigarray.Genarray.nth_dim #7705

vicuna opened this issue Jan 4, 2018 · 1 comment
Assignees

Comments

@vicuna
Copy link

vicuna commented Jan 4, 2018

Original bug ID: 7705
Reporter: @yallop
Assigned to: @nojb
Status: resolved (set by @gasche on 2018-01-04T13:26:49Z)
Resolution: fixed
Priority: normal
Severity: crash
Fixed in version: 4.07.0+dev/beta2/rc1/rc2
Category: otherlibs
Monitored by: @nojb @gasche @dbuenzli

Bug description

$ ocaml
OCaml version 4.06.0

#load "bigarray.cma";;

Bigarray.(Genarray.nth_dim (Genarray.create int c_layout [|1|]) (-1000000));;

Segmentation fault

@vicuna
Copy link
Author

vicuna commented Jan 4, 2018

Comment author: @nojb

#1558

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants