Skip to content

Fix eventData size limit of 255 bytes#117

Merged
aacuevas merged 1 commit intoopen-ephys:developmentfrom
mspacek:intnumbytes
Mar 6, 2017
Merged

Fix eventData size limit of 255 bytes#117
aacuevas merged 1 commit intoopen-ephys:developmentfrom
mspacek:intnumbytes

Conversation

@mspacek
Copy link
Copy Markdown
Contributor

@mspacek mspacek commented Feb 15, 2017

This fixes an overflow that could be easily triggered by sending a long message via the message center (bottom bar in the GUI), resulting in only some fraction of the message being written to the messages file. Note that this triggers a recompile of a bunch of (presumably dependent) modules. Not sure if changing the data type of numBytes from uint8 to int has some other knock-on effects that I'm unaware of. Seems to work, so far.

* Overflow could be easily triggered by sending a long message
via the message center
@aacuevas
Copy link
Copy Markdown
Collaborator

This is the kind of changes I need to triple-check to be sure it doesn't break something obscure, but thanks for the patch.

However, I won't be too worried about events right now. I've been working on a revamp of the channel and event systems which is almost ready to be merged into development.

@aacuevas aacuevas merged commit caba8ba into open-ephys:development Mar 6, 2017
@mspacek mspacek deleted the intnumbytes branch June 29, 2018 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants