[SERVER-4513] Invalid JS causes segfault Created: 16/Dec/11  Updated: 11/Jul/16  Resolved: 07/Mar/13

Status: Closed
Project: Core Server
Component/s: JavaScript
Affects Version/s: 2.0.2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Kristina Chodorow (Inactive) Assignee: Antoine Girbal
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

http://groups.google.com/group/mongodb-user/browse_thread/thread/a2e17f7e7eb5a5fd



 Comments   
Comment by Ben Becker [ 07/Mar/13 ]

Fixed for v8 builds in v2.1+. Marking resolved since v8 is now the default.

Comment by Antoine Girbal [ 28/Dec/11 ]

from drivers a code value is just handled as a string and may have bad syntax.
when it's loaded in server or shell a bad syntax gives a null object, we need to make sure we dont segv on it.
Fixed in v8 for now.

Comment by auto [ 28/Dec/11 ]

Author:

{u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

Message: SERVER-4513: Invalid JS causes segfault
Branch: master
https://github.com/mongodb/mongo/commit/f341b2f26382f74ee5e9666f2df3507dbd7d6a29

Generated at Thu Feb 08 03:06:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.