Lawo / ember-plus

Ember+ control protocol - Slick and free for all!

Home Page:https://github.com/Lawo/ember-plus/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libember can segfault or abort when receiving random erroneous bytes

benoitquiniou opened this issue · comments

Receiving some random erroneous bytes can segfault or abort the decoding side.
The location is in libember::dom::AsyncDomReader::containerReady, where decodeNode return value is not checked againts null pointer before use.

Fixed by commit 0659f96