hebcal / hebcal

A perpetual Jewish Calendar
https://hebcal.github.io/
GNU General Public License v2.0
144 stars 38 forks source link

core dump on out-of-range input #9

Closed mjradwin closed 11 years ago

mjradwin commented 11 years ago

Submitted by wildasin on 2002-10-31 14:04:11

hebcal help Hebcal Version 3.3beta7 By Danny Sadinoff

uname -a SunOS .com 5.8 Generic_108528-14 sun4u sparc

hebcal 1 14 2332322 Segmentation fault (core dumped)

mjradwin commented 11 years ago

Submitted by sadinoff on 2002-10-31 14:05:33

Logged In: YES user_id=269

Thank you for submitting a bug report for hebcal.

Your request has been queued for assessment and, with luck, will be fixed Real Soon Now.

-the hebcal maintainters

mjradwin commented 11 years ago

Submitted by sadinoff on 2004-02-29 19:01:57

Logged In: YES user_id=269

This is the same deal as the other coredump: abs2hebrew is returning negative numbers for the day-of-the-month. I haven't found the exact problem but quite frankly, it only happens after 25 November 24,186; so I'm not going to spend too much time fixing it.

I put in an assert to prevent unsightly crashes.

mjradwin commented 11 years ago

Submitted by sadinoff on 2004-07-15 23:02:18

Logged In: YES user_id=269

fixed in v3.4