Project

General

Profile

Actions

Bug #345

closed

bip disconnects if an op does "/cmode +j-o 5:10 nick" on freenode

Added by Robert Wall over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
2014-09-01
Due date:
% Done:

100%

Estimated time:
Patch Available:
Yes
Found in Versions:
< 0.8.10
Confirmed:
Yes
Branch:
Security:
Help Needed:
No

Description

In #ubuntu on freenode:

05:35:19 -!- mode/#ubuntu [+o rww] by ChanServ
05:35:20 -!- mode/#ubuntu [-j] by rww
05:35:25 -!- mode/#ubuntu [+j-o 5:10 rww] by rww
05:35:25 -!- [every bip user in the channel] has quit [Remote host closed the connection]

This bug is repeatable, and appears to affect users running various versions of bip, including the latest release(going by CTCP VERSION of a few victims).


Files

Actions #1

Updated by Pierre-Louis Bonicoli over 9 years ago

  • File handle_j_flags.patch handle_j_flags.patch added
  • Description updated (diff)
  • Status changed from New to In Progress
  • Assignee set to Pierre-Louis Bonicoli
  • Target version set to 0.9.0
  • % Done changed from 0 to 50
  • Patch Available set to Yes
  • Found in Versions set to < 0.8.10
  • Confirmed changed from No to Yes
  • Help Needed set to No

Proposed patch attached.

Actions #2

Updated by Pierre-Louis Bonicoli over 9 years ago

  • % Done changed from 50 to 70

The problem occurs too using f and k flags.

  1. Like j, f is a Type A flag.
    /mode #test +f+o #test other_nick
    
  2. When mode is removed, Type B flags aren't correctly handled.
    /mode #test -k+o whatever other_nick
    

Patch updated.

Actions #4

Updated by Pierre-Louis Bonicoli over 9 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 70 to 100
Actions

Also available in: Atom PDF