server crashes on incorrect operation type
Bug #1009992 reported by
Dmitry Simonenko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tarantool |
Fix Released
|
Medium
|
Dmitry Simonenko |
Bug Description
no check is made for u32 op to be in valid range:
box_process_
77 u32 op, struct tbuf *data)
78 {
79 ev_tstamp start = ev_now(), stop;
80
81 stat_collect(
82
83 @try {
84 Request *request = [[Request build: op] init: data];
85 [request execute: txn :port];
(gdb) l
86 txn_commit(txn);
87 }
88 @catch (id e) {
89 txn_rollback(txn);
90 @throw;
91 }
Changed in tarantool: | |
status: | Fix Committed → Fix Released |
importance: | Undecided → Medium |
To post a comment you must log in.
fix pushed on the branch bug1009992