Skip to content

segfault with column called delete #103

@rogerbinns

Description

@rogerbinns

From jose.gomes.ny on May 26, 2010 08:19:39

This is a way to reproduce the issue. valgrind shows uninitialized memory
reads and eventually an invalid read in vtable.c:174. This is using apsw-
3.6.23.1- r1 .

!/usr/bin/env python

import apsw

class Source:
def Create(self, *args):
return 'CREATE TABLE x (delete)', None

connection = apsw.Connection('db')

cursor = connection.cursor()

connection.createmodule("testmod2", Source())

cursor.execute("create virtual table foo using testmod2(2,two)")

for row in cursor.execute("select * from foo"):
print row

Original issue: http://code.google.com/p/apsw/issues/detail?id=103

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions