racket / ChezScheme

Chez Scheme
Apache License 2.0
110 stars 8 forks source link

Add additional check to prevent going before start of buffer #11

Closed alshopov closed 5 years ago

alshopov commented 5 years ago

p is a pointer that iterates over path, which is buffer. We should not try to get to an address preceding its start Since there was an execution path that leads to that guard against this with an additional check.

Signed-off-by: Alexander Shopov ash@kambanaria.org

alshopov commented 5 years ago

See https://github.com/cisco/ChezScheme/pull/446

alshopov commented 5 years ago

Closing as upstream has accepted this https://github.com/cisco/ChezScheme/pull/446. After a future merge it will arrive here as well