Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pdq
· 6y ago · 0 comments
Don’t you need a bounds check?
for len(buf) > 4 {
Comments
[–]
thedance
6y ago
Sure, that's why I put that last remark. But you might already know before hitting this block that the message is perfectly formed.