Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: ProfileServ Bug  (Read 3184 times)

0 Members and 1 Guest are viewing this topic.

Gumbie

  • Anope User
  • Offline Offline
  • Posts: 11
ProfileServ Bug
« on: January 25, 2007, 04:11:22 PM »

I found a bug with ProfileServ (lastest one as of this writing)

Only seames to effect SQL usage and on read back. Users using special charaters shuhc as Nickname containing a ` as in: `Eleet, causes the the select statement to break on profile retrival. maybe in other areas also...  Doesn't seam to bother flat .db file storage. Workaround is to just comment out:

#ProfileServSQL  

for now anyways


                                            -Gumbie
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #1 on: January 25, 2007, 07:17:14 PM »

the ` issue would be because somebody (no names naamed, mainly because i dont know who) forgot to check and escape certain chars in the SQL queries.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

Gumbie

  • Anope User
  • Offline Offline
  • Posts: 11
Even So
« Reply #2 on: January 25, 2007, 08:08:06 PM »

Theres going to be bugs, like they say, " Bug free code is obsolete code"
 
   Well i'd like to see better error handling, especially with the modules. Like on a fatal error instead of all of Services bombing, just the module that caused the error would self-unload and report the failure. Services as whole stays up. Is to much of wishfull thinking?

                               -Gumbie
Logged
Pages: [1]   Go Up