Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(103)

Issue 5484044: libventi: fix segfault in vtreadpacket when not connected

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by 0intro
Modified:
12 years, 5 months ago
Reviewers:
CC:
rsc, codebot
Visibility:
Public.

Description

This problem happens especially in fossil/view when vtread can be called even if not connected to venti. The old libventi handle this case properly in the function vtRPC, which is called by vtReadPacket (client.c).

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M src/libventi/client.c View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 2
0intro
12 years, 5 months ago (2011-12-12 12:36:33 UTC) #1
rsc
12 years, 5 months ago (2011-12-12 21:44:54 UTC) #2
*** Submitted as 92a579c6549c ***

libventi: fix segfault in vtreadpacket when not connected

This problem happens especially in fossil/view when vtread
can be called even if not connected to venti.

The old libventi handle this case properly in the function vtRPC, which is
called by vtReadPacket (client.c).

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5484044

Committer: Russ Cox <rsc@swtch.com>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b